File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ The `button` component is a button typically used to trigger an action. It can c
2323
2424- `ripple_state : Arc <RippleState >`
2525
26- The state for the click ripple animation . You must provide a valid `RippleState ` instance to enable the ripple animation . This differs from the `surface ` component , whose ` ripple_state ` parameter can be passed as ` None ` to disable the ripple .
26+ The state for the click ripple animation . You must provide a valid `RippleState ` instance to enable the ripple animation . This differs from the `surface ` component .
2727
2828- `child : impl FnOnce ()`
2929
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub fn button(
2323
2424- `ripple_state : Arc <RippleState >`
2525
26- 此参数为点击水波纹动画的状态,必须传入一个有效的`RippleState `实例,以启用水波纹动画效果。这点不同于`surface `组件,其` ripple_state `参数可以传入` None `来禁用水波纹动画 。
26+ 此参数为点击水波纹动画的状态,必须传入一个有效的`RippleState `实例,以启用水波纹动画效果。这点不同于`surface `组件,请注意 。
2727
2828- `child : impl FnOnce ()`
2929
You can’t perform that action at this time.
0 commit comments