Commit graph

8 commits

Author SHA1 Message Date
Yu Sun
18658044c2
Use fully qualified syntax in the example of Drawer (#187)
* perf: replace `expect` with `unwrap_or_else`

The macro/functions in `expect` is not lazy, which means it will always be called

* style: remove needless borrowing

* perf: remove needless clone

* style: remove needless `format!`

* style: use `and_then` instead

* style: use `?` instead

* style: remove needless closure

* fix: use fully qualified syntax instead

https://github.com/rust-lang/rust/issues/48919

* style: formatted

* style: fix some other clippy issues
2024-05-07 23:36:36 +08:00
luoxiao
b9c6b1ce1e feat: Drawer content scroll 2024-04-09 08:34:11 +08:00
luoxiao
d5410375bb feat: Drawer adds mask_closeable and close_on_esc prop 2024-04-09 08:34:11 +08:00
luoxiaozero
7c01e7e56d
fix: Drawer cannot be closed when the placement is changed (#115) 2024-02-24 13:03:16 +08:00
luoxiaozero
396e654f0b docs: update (#99) 2024-02-09 22:47:46 +08:00
luoxiaozero
70553b8069 Feat/drawer transition (#97)
* feat: drawer adds CSSTransition

* fix: drawer scrollbar
2024-02-09 22:47:46 +08:00
luoxiao
e361d86c4b feat: drawer adds mount prop 2024-02-09 22:47:46 +08:00
luoxiaozero
9eda9757d3
Feat/drawer (#71)
* feat: add drawer component

* feat: drawer style

* fix(demo): nightly Callback
2024-01-07 19:20:08 +08:00