Component props docs update (#1176)
This commit is contained in:
parent
36abc3dbe5
commit
76a64bce1a
@ -11,13 +11,13 @@ class Switch(ChakraComponent):
|
||||
|
||||
tag = "Switch"
|
||||
|
||||
# If true, the switch will be checked. You'll need to pass onChange to update its value (since it is now controlled)
|
||||
# If true, the switch will be checked. You'll need to set an on_change event handler to update its value (since it is now controlled)
|
||||
is_checked: Var[bool]
|
||||
|
||||
# If true, the switch will be disabled
|
||||
is_disabled: Var[bool]
|
||||
|
||||
# If true and isDisabled is passed, the switch will remain tabbable but not interactive
|
||||
# If true and is_disabled prop is set, the switch will remain tabbable but not interactive.
|
||||
is_focusable: Var[bool]
|
||||
|
||||
# If true, the switch is marked as invalid. Changes style of unchecked state.
|
||||
|
@ -33,7 +33,7 @@ class TextArea(ChakraComponent):
|
||||
# If true, the form control will be invalid.
|
||||
is_invalid: Var[bool]
|
||||
|
||||
# If true, the form control will be readonly.
|
||||
# If true, the form control will be read-only.
|
||||
is_read_only: Var[bool]
|
||||
|
||||
# If true, the form control will be required.
|
||||
|
@ -10,7 +10,7 @@ class Box(ChakraComponent):
|
||||
|
||||
tag = "Box"
|
||||
|
||||
# The type element to render. You can specify as an image, video, or any other HTML element such as iframe.
|
||||
# The type element to render. You can specify an image, video, or any other HTML element such as iframe.
|
||||
element: Var[str]
|
||||
|
||||
# The source of the content.
|
||||
|
Loading…
Reference in New Issue
Block a user