import styled from 'styled-components/native';
import { CSSObject } from 'styled-components';
import { colors } from 'data/dataMx';

interface IStylesProps {
  color: colors;
  font: string;
  size: string;
  styles?: CSSObject;
}

export const TruncateContainer = styled.View``;

export const Truncate = styled.Text`
  ${({ styles }) => styles};
  color: ${({ color }: IStylesProps) => color};
  font-family: ${({ font }: IStylesProps) => font};
  font-size: ${({ size }: IStylesProps) => size};
`;
