1 | import React from 'react';
|
2 | import { ViewProps, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
3 | import { RneFunctionComponent } from '../helpers';
|
4 | export 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 | };
|
14 | declare const Divider: RneFunctionComponent<DividerProps>;
|
15 | export { Divider };
|
16 | declare 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>>>;
|
35 | export default _default;
|