add toast classname prop (#4310)
This commit is contained in:
parent
54b081c104
commit
8a4701143e
@ -114,6 +114,9 @@ class ToastProps(PropsBase, NoExtrasAllowedProps):
|
|||||||
# Custom style for the toast.
|
# Custom style for the toast.
|
||||||
style: Optional[Style]
|
style: Optional[Style]
|
||||||
|
|
||||||
|
# Class name for the toast.
|
||||||
|
class_name: Optional[str]
|
||||||
|
|
||||||
# XXX: These still do not seem to work
|
# XXX: These still do not seem to work
|
||||||
# Custom style for the toast primary button.
|
# Custom style for the toast primary button.
|
||||||
action_button_styles: Optional[Style]
|
action_button_styles: Optional[Style]
|
||||||
|
@ -45,6 +45,7 @@ class ToastProps(PropsBase, NoExtrasAllowedProps):
|
|||||||
id: Optional[Union[str, Var]]
|
id: Optional[Union[str, Var]]
|
||||||
unstyled: Optional[bool]
|
unstyled: Optional[bool]
|
||||||
style: Optional[Style]
|
style: Optional[Style]
|
||||||
|
class_name: Optional[str]
|
||||||
action_button_styles: Optional[Style]
|
action_button_styles: Optional[Style]
|
||||||
cancel_button_styles: Optional[Style]
|
cancel_button_styles: Optional[Style]
|
||||||
on_dismiss: Optional[Any]
|
on_dismiss: Optional[Any]
|
||||||
|
Loading…
Reference in New Issue
Block a user