@kietpt2003/react-native-core-ui
Version:
React Native Core UI components by KietPT
21 lines • 642 B
TypeScript
import React from 'react';
import { TextProps as RNTextProps, TextStyle, StyleProp } from 'react-native';
export interface TextProps extends RNTextProps {
style?: StyleProp<TextStyle>;
color?: string;
bold?: boolean;
italic?: boolean;
light?: boolean;
medium?: boolean;
semiBold?: boolean;
size?: number;
thin?: boolean;
children?: React.ReactNode;
}
/**
* Text component for displaying text with custom styles and loading state.
* This component also have its own view and can easily be customized.
*/
declare const Text: React.FC<TextProps>;
export default Text;
//# sourceMappingURL=Text.d.ts.map