Struct patternfly_dioxus::PfLabelProps
source · pub struct PfLabelProps<'a> {
pub icon_name: Option<&'a str>,
pub append_class: Option<&'a str>,
pub children: Element<'a>,
}Fields§
§icon_name: Option<&'a str>§append_class: Option<&'a str>§children: Element<'a>Implementations§
source§impl<'a> PfLabelProps<'a>
impl<'a> PfLabelProps<'a>
sourcepub fn builder() -> PfLabelPropsBuilder<'a, ((), (), ())>
pub fn builder() -> PfLabelPropsBuilder<'a, ((), (), ())>
Create a builder for building PfLabelProps.
On the builder, call .icon_name(...)(optional), .append_class(...)(optional), .children(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PfLabelProps.