You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
items | Array | - | Typescript:`Array<string \| ActionSheetItem>``interface ActionSheetItem { label: string; color?: string; disabled?: boolean; icon?: TNode; badge?: BadgeProps }`,[Badge API Documents](./badge?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/action-sheet/type.ts) | N
16
+
popupProps | Object | {} | Typescript:`PopupProps`,[Popup API Documents](./popup?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/action-sheet/type.ts) | N
16
17
showCancel | Boolean | true | \- | N
18
+
showOverlay | Boolean | true | \- | N
17
19
theme | String | list | options: list/grid | N
18
-
visible | Boolean | false | required | Y
19
-
defaultVisible | Boolean | false | required。uncontrolled property | Y
20
+
visible | Boolean | false | \- | N
21
+
defaultVisible | Boolean | false | uncontrolled property | N
20
22
onCancel | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N
21
-
onClose | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N
22
-
onClose | Function | | Typescript:`(trigger: TriggerSource) => void`<br/>[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/action-sheet/type.ts)。<br/>`type TriggerSource = 'overlay' \| 'command' \| 'select' `<br/> | N
23
+
onClose | Function | | Typescript:`(trigger: ActionSheetTriggerSource) => void`<br/>[see more ts definition](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/action-sheet/type.ts)。<br/>`type ActionSheetTriggerSource = 'overlay' \| 'command' \| 'select' `<br/> | N
23
24
onSelected | Function | | Typescript:`(selected: ActionSheetItem \| string, index: number) => void`<br/> | N
0 commit comments