/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { Text as TextNative, type TextProps as TextNativeProps } from 'react-native'; import { CrossedMethods } from '@crossed/styled'; import { fontWeightStyles, fontSizeStyles, fontColorStyles, sizeTemplateStyles } from '../styles/typography'; import { textAlignStyles } from '../styles/textAlign'; export interface TextProps extends Omit { /** * Color of text */ color?: keyof typeof fontColorStyles; /** * Extends style */ style?: CrossedMethods; /** * Select font-weight */ weight?: keyof typeof fontWeightStyles; /** * select font-size */ fontSize?: keyof typeof fontSizeStyles; /** * Select size template */ size?: keyof typeof sizeTemplateStyles | null; /** * select text-align */ textAlign?: keyof typeof textAlignStyles; /** * Element ref */ ref?: React.Ref | undefined; } declare const Text: import("react").NamedExoticComponent; export { Text }; //# sourceMappingURL=Text.d.ts.map