novdom/state_component
Functions
pub fn ternary1(
state: State(a),
when: fn(a) -> Bool,
then: Component,
otherwise: Component,
) -> Component
pub fn ternary1(
state: State(a),
when: fn(a) -> Bool,
then: Component,
otherwise: Component,
) -> Component