UNPKG

529 BTypeScriptView Raw
1import * as React from 'react';
2import { StyleProp, TextStyle } from 'react-native';
3import type { ThemeProp } from 'src/types';
4import Text from './Text';
5declare type Props = React.ComponentProps<typeof Text> & {
6 alpha?: number;
7 family: 'regular' | 'medium' | 'light' | 'thin';
8 style?: StyleProp<TextStyle>;
9 theme?: ThemeProp;
10};
11declare const StyledText: ({ alpha, family, style, theme: themeOverrides, ...rest }: Props) => React.JSX.Element;
12export default StyledText;
13//# sourceMappingURL=StyledText.d.ts.map
\No newline at end of file