timepicker.d.ts 634 B

12345678910111213141516171819202122232425
  1. /**
  2. * 时间选择器 请求参数定义
  3. * @apiName biz.util.timepicker
  4. */
  5. export interface IBizUtilTimepickerParams {
  6. /** 时间格式 */
  7. format?: string;
  8. /** 默认显示时间 */
  9. value?: string;
  10. }
  11. /**
  12. * 时间选择器 返回结果定义
  13. * @apiName biz.util.timepicker
  14. */
  15. export interface IBizUtilTimepickerResult {
  16. /** 返回选择的时间 */
  17. value: string;
  18. }
  19. /**
  20. * 时间选择器
  21. * @apiName biz.util.timepicker
  22. * @supportVersion ios: 2.4.0 android: 2.4.0
  23. */
  24. export declare function timepicker$(params: IBizUtilTimepickerParams): Promise<IBizUtilTimepickerResult>;
  25. export default timepicker$;