Skip to content

Commit bc321fe

Browse files
authored
docs(cndocs): sync Pressable ripple docs (#1027)
1 parent a822ad1 commit bc321fe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

cndocs/pressable.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default App;
122122

123123
### `android_ripple` <div className="label android">Android</div>
124124

125-
使用并配置 Android 波纹效果
125+
启用 Android 波纹效果并配置其属性。`color` 字段既接受普通颜色,也接受 [`PlatformColor`](platformcolor) 值,因此你可以引用类似 `?attr/colorAccent` 的主题属性。使用 `PlatformColor` 时,波纹会在系统配置变化时(例如在浅色和深色模式之间切换)自动更新
126126

127127
| Type |
128128
| -------------------------------------- |
@@ -260,9 +260,9 @@ export default App;
260260

261261
**Properties:**
262262

263-
| Name | Type | Required | Description |
264-
| ---------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------ |
265-
| color | [color](colors) | No | 定义波纹的颜色。 |
266-
| borderless | boolean | No | 定义波纹效果是否包含边框。 |
267-
| radius | number | No | 定义波纹的半径。 |
263+
| Name | Type | Required | Description |
264+
| ---------- | --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
265+
| color | [color](colors) | No | 定义波纹的颜色。 |
266+
| borderless | boolean | No | 定义波纹效果是否包含边框。 |
267+
| radius | number | No | 定义波纹的半径。 |
268268
| foreground | boolean | No | 设为 true 可将波纹效果添加到视图的前景而非背景。当子视图有自己的背景色或者你在显示图片时,这很有用,可以避免波纹效果被遮挡。 |

0 commit comments

Comments
 (0)