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<Pick<ViewProps & {
|
17 | color?: string;
|
18 | inset?: boolean;
|
19 | insetType?: "middle" | "left" | "right";
|
20 | style?: StyleProp<ViewStyle>;
|
21 | subHeader?: string;
|
22 | subHeaderStyle?: StyleProp<TextStyle>;
|
23 | orientation?: "horizontal" | "vertical";
|
24 | width?: number;
|
25 | } & Partial<import("../config").ThemeProps<DividerProps>>, "style" | "onLayout" | "testID" | "width" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "color" | "nativeID" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "pointerEvents" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "inset" | "insetType" | "orientation" | "subHeader" | "subHeaderStyle">> | React.ForwardRefExoticComponent<ViewProps & {
|
26 | color?: string;
|
27 | inset?: boolean;
|
28 | insetType?: "middle" | "left" | "right";
|
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;
|