You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update Chinese translations and improve documentation clarity
- Translated various sections of the documentation to Chinese for better accessibility.
- Enhanced clarity in explanations and examples across multiple files, including box shadow, drop shadow, and layout events.
- Removed outdated content and improved structure in the new architecture documentation.
- Added usage notes and examples for better understanding of concepts like PlatformColor and native modules.
Document nodes represent a complete native view tree. Apps using native navigation would provide a separate document node for each screen. Apps not using native navigation would generally provide a single document for the whole app (similar to single-page apps on Web).
6
+
文档节点表示完整的原生视图树。使用原生导航的应用会为每个屏幕提供单独的文档节点。不使用原生导航的应用通常会为整个应用提供单个文档(类似于 Web 上的单页应用)。
The `DropShadowValue`object is taken by the [`filter`](./view-style-props.md#filter)style prop for the `dropShadow`function. It is comprised of 2 or 3 lengths and an optional color. These values collectively define the drop shadow's color, position, and blurriness.
@@ -16,40 +16,40 @@ The `DropShadowValue` object is taken by the [`filter`](./view-style-props.md#fi
16
16
}
17
17
```
18
18
19
-
## Keys and values
19
+
## 属性与值
20
20
21
21
### `offsetX`
22
22
23
-
The offset on the x-axis. This can be positive or negative. A positive value indicates right and negative indicates left.
23
+
在 x 轴上的偏移量。它可以是正数或负数。正数表示向右,负数表示向左。
24
24
25
-
|Type|Optional|
26
-
| ---------------- | --------|
27
-
| number \| string |No |
25
+
|类型|可选|
26
+
| ---------------- | ---- |
27
+
| number \| string |否|
28
28
29
29
### `offsetY`
30
30
31
-
The offset on the y-axis. This can be positive or negative. A positive value indicates up and negative indicates down.
31
+
在 y 轴上的偏移量。它可以是正数或负数。正数表示向上,负数表示向下。
32
32
33
-
|Type|Optional|
34
-
| ---------------- | --------|
35
-
| number \| string |No |
33
+
|类型|可选|
34
+
| ---------------- | ---- |
35
+
| number \| string |否|
36
36
37
37
### `standardDeviation`
38
38
39
-
Represents the standard deviation used in the [Guassian blur](https://en.wikipedia.org/wiki/Gaussian_blur)algorithm. The larger the value the blurrier the shadow is. Only non-negative values are valid. The default is 0.
0 commit comments