Document web-only Switch props

This commit is contained in:
Nicolas Gallagher
2017-12-26 09:19:04 +00:00
parent 1776891736
commit f6d1caab9d

View File

@@ -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"
/> />