chooseDayWithCalendar.d.ts 586 B

123456789101112131415161718
  1. export interface ChooseDayParams {
  2. /** 时间戳,默认选中时间,单位为毫秒ms */
  3. default?: number;
  4. }
  5. export interface ChooseDayResult {
  6. /** 时间戳,用户选择日期当日0点的时间(在用户时区),单位为毫秒ms */
  7. chosen: number;
  8. /** 整型,用户当前所在时区 */
  9. timezone: number;
  10. }
  11. declare function chooseDayWithCalendar(args: ChooseDayParams): Promise<ChooseDayResult>;
  12. declare namespace chooseDayWithCalendar {
  13. var version: {
  14. android: string;
  15. ios: string;
  16. };
  17. }
  18. export default chooseDayWithCalendar;