@@ -54,33 +54,26 @@ export default Demo
5454
5555### Props
5656
57- ``` js
58- import { StyleProp , ViewStyle } from ' react-native' ;
59- import { ModalProps } from ' @uiw/react-native' ;
60-
61- export interface DividerStyle {
62- itemDivider ?: StyleProp <ViewStyle >,
63- actionDivider ?: StyleProp <ViewStyle >,
64- }
65- ```
66-
6757| 参数 | 说明 | 类型 | 默认值 |
6858| ------| ------| -----| ------|
6959| onCancel | 点击蒙层是否关闭 | Boolean | ` false ` |
70- | dividerStyle | 分割线样式 | DividerStyle | - |
71- | containerStyle | 取消的容器样式 | StyleProp<ViewStyle > | - |
60+ | dividerStyle | 分割线样式 | DividerStyleProps | - |
61+ | containerStyle | 取消的容器样式 | StyleProp<` ViewStyle ` > | - |
7262| activeOpacity | 动作在被触摸操作激活时以多少不透明度显示 | number | ` #f1f1f1 ` |
7363| underlayColor | 动作有触摸操作时显示出来的底层的颜色 | string | ` #f1f1f1 ` |
7464| cancelText | 取消的文本 | ` React.ReactNode ` | - |
7565| textStyle | 取消的文本样式 | ` StyleProp<TextStyle> ` | - |
7666
77- ### ActionSheetItem Props
78- ``` js
79- import { TextStyle , StyleProp , ViewStyle } from ' react-native' ;
80- ```
67+ ### DividerStyleProps
68+ | 参数 | 说明 | 类型 | 默认值 |
69+ | ------| ------| -----| ------|
70+ | itemDivider | - | StyleProp<` ViewStyle ` > | ` false ` |
71+ | actionDivider | - | StyleProp<` ViewStyle ` > | - |
8172
73+ ### ActionSheetItemProps
8274| 参数 | 说明 | 类型 | 默认值 |
8375| ------| ------| -----| ------|
8476| containerStyle | 容器样式 | ` StyleProp<ViewStyle> ` | - |
8577| textStyle | 文本样式 | ` StyleProp<ViewStyle> ` | - |
8678| onPress | 点击 ActionSheetItem 触发的事件 | ` (event: GestureResponderEvent) => void ` | - |
79+
0 commit comments