Struct yew_styles::button::Props [−][src]
pub struct Props { pub button_palette: Palette, pub class_name: String, pub id: String, pub code_ref: NodeRef, pub key: String, pub button_size: Size, pub button_style: Style, pub onclick_signal: Callback<MouseEvent>, pub children: Children, }
Fields
Type botton style. Default Palette::Standard
class_name: String
General property to add custom class styles
id: String
General property to add custom id
code_ref: NodeRef
General property to get the ref of the component
key: String
General property to add keys
Three diffent button standard sizes. Default Size::Medium
Button styles. Default Style::Regular
onclick_signal: Callback<MouseEvent>
Click event for button. Required
children: Children
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Props
impl !UnwindSafe for Props
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.