import type { ColorProps, SpaceProps, TypographyProps, PositionProps, } from 'styled-system'; import type { customBorderProps, customBackgroundProps, customOutlineProps, customLayoutProps, customExtraProps, customShadowProps, customTypographyProps, } from '../../../utils/customProps'; const sizes = ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl']; export type ITextProps = ColorProps & SpaceProps & PositionProps & TypographyProps & customBorderProps & customExtraProps & customOutlineProps & customShadowProps & customLayoutProps & customBackgroundProps & customTypographyProps & { children?: React.ReactNode | string; fontSize?: typeof sizes[number] | number; noOfLines?: number; style?: any; bold?: boolean; isTruncated?: boolean; italic?: boolean; underline?: boolean; strikeThrough?: boolean; sub?: boolean; highlight?: boolean; };