@uiw/react-native
Version:
UIW for React Native
19 lines (18 loc) • 738 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle, TextStyle, GestureResponderEvent } from 'react-native';
export interface ActionSheetItemProps {
/** 容器样式 */
containerStyle?: StyleProp<ViewStyle>;
/** 文本样式 */
textStyle?: StyleProp<TextStyle>;
/** 指定封装的视图在被触摸操作激活时以多少不透明度显示 默认 1 */
activeOpacity?: number;
/** 有触摸操作时显示出来的底层的颜色 */
underlayColor?: string;
onPress?: (event: GestureResponderEvent) => void;
children?: React.ReactNode;
disabled?: boolean;
}
export interface ActionSheetItemState {
}
export default function ActionSheetItem(props: ActionSheetItemProps): React.JSX.Element;