shuimo-design / shuimo-ui

δΈ€ζ¬Ύζ°΄ε’¨ι£ŽUI
https://shuimo.design
MIT License
282 stars 24 forks source link

πŸ”§ [datePicker] fix month type picker #82

Closed QJvic closed 7 months ago

QJvic commented 7 months ago

πŸ€” Nature of this PR

πŸ”— Related Issue

https://github.com/shuimo-design/shuimo-ui/issues/80

πŸ’‘ Background and Solution

  1. set props.format dynamicly
  2. fix clickMonthDiv function
  3. give a default value of dateRef in useDatePicker.ts
  4. ...

βœ… Pre-merge Checklist

❗️Please self-check and check all options.❗️