We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa43e95 commit a89bb64Copy full SHA for a89bb64
packages/core/src/ActionSheet/index.tsx
@@ -17,7 +17,7 @@ export interface ActionSheetProps extends ModalProps {
17
/** 分割线样式 */
18
dividerStyle?: DividerStyle;
19
/** 取消的容器样式 */
20
- containerStyle?: StyleProp<ViewStyle>;
+ containerStyle?: ViewStyle;
21
/** 取消的文本样式 */
22
textStyle?: StyleProp<TextStyle>;
23
/** 动作在被触摸操作激活时以多少不透明度显示 默认 1 */
@@ -44,7 +44,7 @@ export default function ActionSheet(props: ActionSheetProps) {
44
cancelText = '取消',
45
dividerStyle,
46
isCancel = true,
47
- containerStyle,
+ containerStyle = {},
48
textStyle,
49
onCancel,
50
...other
0 commit comments