import * as React from 'react'; import classnames from 'classnames'; import { ITextBaseProps, ITextCommonProps, TextBase, TextBasePropColor, TextBasePropFontSize, TextBasePropFontWeight, } from '../_private/TextBase/TextBase'; export enum TextPropSize { caption = 'caption', default = 'default', } interface IProps extends ITextCommonProps { privateOptions?: ITextBaseProps; size?: TextPropSize | keyof typeof TextPropSize; } export const Text = (props: IProps) => { const { className, id, privateOptions, size, style, ...otherProps } = props; return ( ); }; Text.defaultProps = { size: 'default', tag: 'span', } as Partial;