pub fn ToggleChip(props: ToggleChipProps) -> impl IntoViewExpand description
A pill-shaped toggle button reflecting an active signal via aria-pressed. Emits a
unit event through on_toggle when clicked.
§Required Props
- label:
impl Into<String> - active:
impl Into<Signal<bool>> - on_toggle:
Callback<()>
§Optional Props
- disabled:
impl Into<Signal<bool>>