1 | import * as React from 'react';
|
2 | import { Text, TextStyle, StyleProp } from 'react-native';
|
3 | export declare type Props = React.ComponentProps<typeof Text> & {
|
4 | style?: StyleProp<TextStyle>;
|
5 | children: React.ReactNode;
|
6 | };
|
7 | /**
|
8 | * Typography component for showing a caption.
|
9 | *
|
10 | * <div class="screenshots">
|
11 | * <img src="screenshots/caption.png" />
|
12 | * </div>
|
13 | *
|
14 | * ## Usage
|
15 | * ```js
|
16 | * import * as React from 'react';
|
17 | * import { Caption } from 'react-native-paper';
|
18 | *
|
19 | * const MyComponent = () => (
|
20 | * <Caption>Caption</Caption>
|
21 | * );
|
22 | *
|
23 | * export default MyComponent;
|
24 | * ```
|
25 | */
|
26 | declare const Caption: (props: Props) => React.JSX.Element;
|
27 | export default Caption;
|
28 | //# sourceMappingURL=Caption.d.ts.map |
\ | No newline at end of file |