mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-29 12:54:53 +08:00
Document web-only Switch props
This commit is contained in:
@@ -41,6 +41,7 @@ const SwitchScreen = () => (
|
|||||||
example={{
|
example={{
|
||||||
render: () => <PropActiveThumbColor />
|
render: () => <PropActiveThumbColor />
|
||||||
}}
|
}}
|
||||||
|
label="web"
|
||||||
name="activeThumbColor"
|
name="activeThumbColor"
|
||||||
typeInfo="?color = #009688"
|
typeInfo="?color = #009688"
|
||||||
/>
|
/>
|
||||||
@@ -50,6 +51,7 @@ const SwitchScreen = () => (
|
|||||||
example={{
|
example={{
|
||||||
render: () => <PropActiveTrackColor />
|
render: () => <PropActiveTrackColor />
|
||||||
}}
|
}}
|
||||||
|
label="web"
|
||||||
name="activeTrackColor"
|
name="activeTrackColor"
|
||||||
typeInfo="?color = #A3D3CF"
|
typeInfo="?color = #A3D3CF"
|
||||||
/>
|
/>
|
||||||
@@ -77,6 +79,7 @@ const SwitchScreen = () => (
|
|||||||
example={{
|
example={{
|
||||||
render: () => <PropThumbColor />
|
render: () => <PropThumbColor />
|
||||||
}}
|
}}
|
||||||
|
label="web"
|
||||||
name="thumbColor"
|
name="thumbColor"
|
||||||
typeInfo="?color = #FAFAFA"
|
typeInfo="?color = #FAFAFA"
|
||||||
/>
|
/>
|
||||||
@@ -86,6 +89,7 @@ const SwitchScreen = () => (
|
|||||||
example={{
|
example={{
|
||||||
render: () => <PropTrackColor />
|
render: () => <PropTrackColor />
|
||||||
}}
|
}}
|
||||||
|
label="web"
|
||||||
name="trackColor"
|
name="trackColor"
|
||||||
typeInfo="?color = #939393"
|
typeInfo="?color = #939393"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user