@kietpt2003/react-native-core-ui
Version:
React Native Core UI components by KietPT
18 lines • 600 B
TypeScript
import React from 'react';
import { TextProps as RNTextProps, TextStyle, ViewStyle } from 'react-native';
import { ReactNode } from 'react';
interface TextProps extends RNTextProps {
style?: TextStyle | TextStyle[];
styleView?: ViewStyle | ViewStyle[];
color?: string;
bold?: boolean;
load?: boolean;
children?: 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