UNPKG

1.87 kBTypeScriptView Raw
1import * as React from 'react';
2import { StyleProp, TextStyle } from 'react-native';
3import Text from './Text';
4declare type Props = React.ComponentProps<typeof Text> & {
5 alpha: number;
6 family: 'regular' | 'medium' | 'light' | 'thin';
7 style?: StyleProp<TextStyle>;
8 theme: ReactNativePaper.Theme;
9};
10declare const _default: React.ComponentType<(Pick<Pick<import("react-native").TextProps & {
11 style?: StyleProp<TextStyle>;
12 theme: ReactNativePaper.Theme;
13} & React.RefAttributes<{}>, keyof import("react-native").TextProps | keyof React.RefAttributes<{}>> & {
14 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
15} & {
16 alpha: number;
17 family: "light" | "regular" | "medium" | "thin";
18 style?: StyleProp<TextStyle>;
19 theme: ReactNativePaper.Theme;
20}, keyof import("react-native").TextProps | keyof React.RefAttributes<{}> | "alpha" | "family"> | Pick<Pick<import("react-native").TextProps & {
21 style?: StyleProp<TextStyle>;
22 theme: ReactNativePaper.Theme;
23} & React.RefAttributes<{}>, keyof import("react-native").TextProps | keyof React.RefAttributes<{}>> & {
24 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
25} & {
26 children?: React.ReactNode;
27} & {
28 alpha: number;
29 family: "light" | "regular" | "medium" | "thin";
30 style?: StyleProp<TextStyle>;
31 theme: ReactNativePaper.Theme;
32}, keyof import("react-native").TextProps | keyof React.RefAttributes<{}> | "alpha" | "family">) & {
33 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
34}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ theme, alpha, family, style, ...rest }: Props) => JSX.Element), {}>;
35export default _default;
36
\No newline at end of file