UNPKG

585 BTypeScriptView Raw
1import * as React from 'react';
2import { Text } from 'react-native';
3declare type Props = React.ComponentProps<typeof Text> & {
4 children: React.ReactNode;
5};
6/**
7 * Typography component for showing a title.
8 *
9 * <div class="screenshots">
10 * <img src="screenshots/title.png" />
11 * </div>
12 *
13 * ## Usage
14 * ```js
15 * import * as React from 'react';
16 * import { Title } from 'react-native-paper';
17 *
18 * const MyComponent = () => (
19 * <Title>Title</Title>
20 * );
21 *
22 * export default MyComponent;
23 * ```
24 */
25declare const Title: (props: Props) => JSX.Element;
26export default Title;