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
`size` |string |"normal" |Size of the toggle. Possible values are: `large`, `normal`, `small`, `mini`.
37
-
`onstyle` |string |"primary" |Style of the on toggle. Possible values are: `primary`,`secondary`,`success`,`danger`,`warning`,`info`,`light`,`dark`
38
-
`offstyle`|string |"light" |Style of the off toggle. Possible values are: `primary`,`secondary`,`success`,`danger`,`warning`,`info`,`light`,`dark`
39
-
`style` |string | |Appends the value to the class attribute of the toggle. This can be used to apply custom styles. Refer to Custom Styles for reference.
40
-
`width` |integer |*null* |Sets the width of the toggle. if set to *null*, width will be auto-calculated.
41
-
`height` |integer |*null* |Sets the height of the toggle. if set to *null*, height will be auto-calculated.
`onlabel` |string/html |"On" |Text of the on switch-button
35
+
`offlabel` |string/html |"Off" |Text of the off switch-button
36
+
`size` |string | |Size of the switch-button. Possible values are: `xs`, `sm`, `lg` (no size specified means normal size).
37
+
`onstyle` |string |"primary" |Style of the on switch-button. Possible values are: `primary`,`secondary`,`success`,`danger`,`warning`,`info`,`light`,`dark`
38
+
`offstyle` |string |"light" |Style of the off switch-button. Possible values are: `primary`,`secondary`,`success`,`danger`,`warning`,`info`,`light`,`dark`
39
+
`style` |string | |Appends the value to the class attribute of the switch-button. This can be used to apply custom styles. Refer to Custom Styles for reference.
40
+
`width` |integer | |Sets the width of the switch-button. if set to *null*, width will be auto-calculated.
41
+
`height` |integer | |Sets the height of the switch-button. if set to *null*, height will be auto-calculated.
0 commit comments