showSelect.d.ts 357 B

12345678910111213141516
  1. export interface Options {
  2. key: string;
  3. value: string;
  4. }
  5. export interface ShowSelectParams {
  6. source: Options[];
  7. selectedKey?: string;
  8. }
  9. declare function showSelect(params: ShowSelectParams): Promise<Options>;
  10. declare namespace showSelect {
  11. var version: {
  12. android: string;
  13. ios: string;
  14. };
  15. }
  16. export default showSelect;