import React from 'react'; import { TextProps } from 'react-native'; import { Spacing, Size } from '../types'; export declare type BaseTextProps = { /** * Flex style. * If `true`, it will set `flex = 1`. */ flex?: boolean | number; /** * Size dimension. */ size?: Size; /** * Color of the text. */ color?: string; /** * Padding style. */ padding?: Spacing; /** * Margin style. */ margin?: Spacing; /** * Text align style. */ textAlign?: 'auto' | 'left' | 'right' | 'center' | 'justify'; /** * Font size style. */ fontSize?: number; /** * Font weight style. */ fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; /** * Font style. */ fontStyle?: 'normal' | 'italic'; /** * Text transform style. */ textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase'; /** * */ /** * Underlying Text Component. This has to be a typeof `Text` component. * * ie: `UnderlyingText={Animated.Text}` */ UnderlyingText?: React.ComponentType | React.ReactElement | null; } & TextProps; /** * ### BaseLayout * A basic building block on top of the component with easier way to * define multiple layouts. */ export declare const BaseText: React.FC; //# sourceMappingURL=index.d.ts.map