Commit 9bad9106 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Switch: fix an en doc typo

parent b8edd0be
...@@ -114,8 +114,8 @@ Switch is used for switching between two opposing states. ...@@ -114,8 +114,8 @@ Switch is used for switching between two opposing states.
----| ----| ----| ----|---- ----| ----| ----| ----|----
disabled | whether Switch is disabled | boolean | — | false disabled | whether Switch is disabled | boolean | — | false
width | width of Switch | number | — | 58 (with text) / 46 (no text) width | width of Switch | number | — | 58 (with text) / 46 (no text)
on-close-icon | class name of the icon displayed when in `on` state, overrides `on-text` | string | — | — on-icon-class | class name of the icon displayed when in `on` state, overrides `on-text` | string | — | —
off-close-icon |class name of the icon displayed when in `off` state, overrides `off-text`| string | — | — off-icon-class |class name of the icon displayed when in `off` state, overrides `off-text`| string | — | —
on-text | text displayed when in `on` state | string | — | ON on-text | text displayed when in `on` state | string | — | ON
off-text | text displayed when in `off` state | string | — | OFF off-text | text displayed when in `off` state | string | — | OFF
on-value | switch value when in `on` state | boolean / string / number | — | true on-value | switch value when in `on` state | boolean / string / number | — | true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment