MCPcopy Create free account
hub / github.com/angular-rust/yew-components / OffIconButtonToggle

Class OffIconButtonToggle

src/icon_button_toggle/off_icon.rs:19–21  ·  view source on GitHub ↗

Defines header for [`IconButtonToggle`][crate::IconButtonToggle]. If the child passed is an element (a `VTag`), then it is modified to include the appropriate attributes. Otherwise, the child is wrapped in a `span` containing said attributes.

Source from the content-addressed store, hash-verified

17/// the appropriate attributes. Otherwise, the child is wrapped in a `span`
18/// containing said attributes.
19pub struct OffIconButtonToggle {
20 props: OffIconButtonToggleProps,
21}
22
23impl Component for OffIconButtonToggle {
24 type Message = ();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected