UNPKG

@uiw/react-native

Version:
19 lines (18 loc) 729 B
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; } export interface ActionSheetItemState { } export default class ActionSheetItem extends React.Component<ActionSheetItemProps, ActionSheetItemState> { render(): JSX.Element; }