/// import { IComponentStyles, IHTMLSlot, ISlotProp, IComponent, IStyleableComponentProps } from '../../Foundation'; import { IFontStyles } from '../../Styling'; export declare type ITextComponent = IComponent; export declare type ITextTokenReturnType = ReturnType>; export declare type ITextStylesReturnType = ReturnType>; export declare type ITextSlot = ISlotProp; export interface ITextSlots { root?: IHTMLSlot; } export interface ITextProps extends ITextSlots, IStyleableComponentProps, React.HTMLAttributes { /** * Optionally render the component as another component type or primitive. */ as?: React.ReactType>; /** * Optional font type for Text. */ variant?: keyof IFontStyles; /** * Whether the text is displayed as a block element. * * Note that in order for ellipsis on overflow to work properly, * `block` and `nowrap` should be set to true. */ block?: boolean; /** * Whether the text is not wrapped. * * Note that in order for ellipsis on overflow to work properly, * `block` and `nowrap` should be set to true. */ nowrap?: boolean; } export interface ITextTokens { } export declare type ITextStyles = IComponentStyles;