import React from 'react'; import { Text as TextRN, TextProps } from 'react-native'; import { ITextColors } from '../../base/colors'; import { IFontSize, IFontWeight, ILineHeight, ITextAligments } from '../../base/typography'; import { MarginMixin, PaddingMixin } from '../../utils/spacing'; /** * Text Props */ export declare type TextDraculaProps = { align?: ITextAligments; /** * Controls the size of the text based on pre-configured Dracula UI sizes. */ size?: IFontSize; /** * Controls the weight of the text. */ weight?: IFontWeight; /** * Controls the line height of a text. */ lineHeight?: ILineHeight; /** * Controls the color of the text */ color?: ITextColors; } & MarginMixin & PaddingMixin & TextProps; /** * Text is the base component for any sort of text. * * Consumers of this component can control, the color, size, * weight, and spacing of Text. * * Use this component for generic, and non-hierarchical text that is * to be displayed on a page, or as part of other complex components * or UI patterns. */ export declare function Text(props: TextDraculaProps): React.CElement; //# sourceMappingURL=index.d.ts.map