Skip to content

Commit 1288796

Browse files
committed
test
1 parent 2d969d4 commit 1288796

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cndocs/boxshadowvalue.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
id: boxshadowvalue
3-
title: BoxShadowValue Object Type
3+
title: BoxShadowValue 对象类型
44
---
55

6-
The `BoxShadowValue` object is taken by the [`boxShadow`](./view-style-props.md#boxshadow) style prop. It is comprised of 2-4 lengths, an optional color, and an optional `inset` boolean. These values collectively define the box shadow's color, position, size, and blurriness.
6+
`BoxShadowValue` 对象类型由 [`boxShadow`](./view-style-props.md#boxshadow) 样式属性所使用。它由 2-4 个长度、一个可选的颜色和一个可选的 `inset` 布尔值组成。这些值共同定义了盒阴影的颜色、位置、大小和模糊程度。
77

8-
## Example
8+
## 示例
99

1010
```js
1111
{
@@ -18,21 +18,21 @@ The `BoxShadowValue` object is taken by the [`boxShadow`](./view-style-props.md#
1818
}
1919
```
2020

21-
## Keys and values
21+
## 键和值
2222

2323
### `offsetX`
2424

25-
The offset on the x-axis. This can be positive or negative. A positive value indicates right and negative indicates left.
25+
在 x 轴上的偏移量。它可以是正数或负数。正数表示向右,负数表示向左。
2626

27-
| Type | Optional |
27+
| 类型 | 可选 |
2828
| ---------------- | -------- |
2929
| number \| string | No |
3030

3131
### `offsetY`
3232

33-
The offset on the y-axis. This can be positive or negative. A positive value indicates up and negative indicates down.
33+
在 y 轴上的偏移量。它可以是正数或负数。正数表示向上,负数表示向下。
3434

35-
| Type | Optional |
35+
| 类型 | 可选 |
3636
| ---------------- | -------- |
3737
| number \| string | No |
3838

0 commit comments

Comments
 (0)