import React, { ReactNode } from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export interface ActionSheetItemProps { /** 操作项文字 */ text: string; /** 操作项点击事件 */ onPress: () => void; /** 操作项类型。danger表示警示性操作 */ type?: 'default' | 'danger'; render?: (text: string, type?: 'default' | 'danger') => ReactNode; } declare function ActionSheetItem({ text, type, onPress, activeOpacity, render, onCancel, itemStyle, }: ActionSheetItemProps & { onCancel: () => void; activeOpacity: number; itemStyle: StyleProp; }): JSX.Element; declare const _default: React.MemoExoticComponent; export default _default; //# sourceMappingURL=ActionSheetItem.d.ts.map