showActionSheet.d.ts 439 B

1234567891011121314151617
  1. export interface ActionSheetSelectResult {
  2. buttonIndex: number;
  3. }
  4. export interface ActionSheetParams {
  5. title: string;
  6. cancelButton: string;
  7. otherButtons: string[];
  8. }
  9. declare function showActionSheet(params: ActionSheetParams): Promise<ActionSheetSelectResult>;
  10. declare namespace showActionSheet {
  11. var version: {
  12. android: string;
  13. ios: string;
  14. pc: string;
  15. };
  16. }
  17. export default showActionSheet;