Skip to content

Commit

Permalink
fix(ActionSheet): 解决containerStyle ts报错
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenlingasMx committed Mar 16, 2023
1 parent aa43e95 commit a89bb64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/ActionSheet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface ActionSheetProps extends ModalProps {
/** 分割线样式 */
dividerStyle?: DividerStyle;
/** 取消的容器样式 */
containerStyle?: StyleProp<ViewStyle>;
containerStyle?: ViewStyle;
/** 取消的文本样式 */
textStyle?: StyleProp<TextStyle>;
/** 动作在被触摸操作激活时以多少不透明度显示 默认 1 */
Expand All @@ -44,7 +44,7 @@ export default function ActionSheet(props: ActionSheetProps) {
cancelText = '取消',
dividerStyle,
isCancel = true,
containerStyle,
containerStyle = {},
textStyle,
onCancel,
...other
Expand Down

0 comments on commit a89bb64

Please sign in to comment.