UNPKG

2.42 kBTypeScriptView Raw
1import * as React from 'react';
2import { View, ViewStyle, StyleProp } from 'react-native';
3import type { $RemoveChildren } from '../types';
4declare type Props = $RemoveChildren<typeof View> & {
5 /**
6 * Whether divider has a left inset.
7 */
8 inset?: boolean;
9 style?: StyleProp<ViewStyle>;
10 /**
11 * @optional
12 */
13 theme: ReactNativePaper.Theme;
14};
15declare const _default: React.ComponentType<Pick<$RemoveChildren<typeof View> & {
16 /**
17 * Whether divider has a left inset.
18 */
19 inset?: boolean | undefined;
20 style?: StyleProp<ViewStyle>;
21 /**
22 * @optional
23 */
24 theme: ReactNativePaper.Theme;
25}, "style" | "pointerEvents" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "inset"> & {
26 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
27}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<$RemoveChildren<typeof View> & {
28 /**
29 * Whether divider has a left inset.
30 */
31 inset?: boolean | undefined;
32 style?: StyleProp<ViewStyle>;
33 /**
34 * @optional
35 */
36 theme: ReactNativePaper.Theme;
37}> & (({ inset, style, theme, ...rest }: Props) => JSX.Element), {}>;
38export default _default;
39
\No newline at end of file