diff --git a/docs/switch.md b/docs/switch.md index 4f9055c6256..af2e636760c 100644 --- a/docs/switch.md +++ b/docs/switch.md @@ -61,7 +61,7 @@ Inherits [View Props](view.md#props). If true the user won't be able to toggle the switch. | Type | Default | -| ---- | ------- | +|------|---------| | bool | `false` | --- @@ -71,7 +71,7 @@ If true the user won't be able to toggle the switch. On iOS, custom color for the background. This background color can be seen either when the switch value is `false` or when the switch is disabled (and the switch is translucent). | Type | -| ------------------ | +|--------------------| | [color](colors.md) | --- @@ -81,7 +81,7 @@ On iOS, custom color for the background. This background color can be seen eithe Invoked when the user tries to change the value of the switch. Receives the change event as an argument. If you want to only receive the new value, use `onValueChange` instead. | Type | -| -------- | +|----------| | function | --- @@ -91,7 +91,7 @@ Invoked when the user tries to change the value of the switch. Receives the chan Invoked when the user tries to change the value of the switch. Receives the new value as an argument. If you want to instead receive an event, use `onChange`. | Type | -| -------- | +|----------| | function | --- @@ -107,7 +107,47 @@ A ref setter that will be assigned an [element node](element-nodes) when mounted Color of the foreground switch grip. If this is set on iOS, the switch grip will lose its drop shadow. | Type | -| ------------------ | +|--------------------| +| [color](colors.md) | + +--- + +### `thumbColorForFalse`