UNPKG

1.34 kBTypeScriptView Raw
1import React from 'react';
2import { ViewProps, StyleProp, TextStyle, ViewStyle } from 'react-native';
3import { RneFunctionComponent } from '../helpers';
4export declare type DividerProps = ViewProps & {
5 color?: string;
6 inset?: boolean;
7 insetType?: 'left' | 'right' | 'middle';
8 style?: StyleProp<ViewStyle>;
9 subHeader?: string;
10 subHeaderStyle?: StyleProp<TextStyle>;
11 orientation?: 'horizontal' | 'vertical';
12 width?: number;
13};
14declare const Divider: RneFunctionComponent<DividerProps>;
15export { Divider };
16declare const _default: React.FunctionComponent<Omit<ViewProps & {
17 color?: string;
18 inset?: boolean;
19 insetType?: "left" | "right" | "middle";
20 style?: StyleProp<ViewStyle>;
21 subHeader?: string;
22 subHeaderStyle?: StyleProp<TextStyle>;
23 orientation?: "horizontal" | "vertical";
24 width?: number;
25} & Partial<import("../config").ThemeProps<DividerProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<ViewProps & {
26 color?: string;
27 inset?: boolean;
28 insetType?: "left" | "right" | "middle";
29 style?: StyleProp<ViewStyle>;
30 subHeader?: string;
31 subHeaderStyle?: StyleProp<TextStyle>;
32 orientation?: "horizontal" | "vertical";
33 width?: number;
34} & Partial<import("../config").ThemeProps<DividerProps>>>;
35export default _default;