Closed tqwewe closed 6 months ago
Yes, I can change it to Option<MaybeSignal<icondata_core::Icon>>
.
@luoxiaozero though if its Option<MaybeSignal<icondata_core::Icon>>
, that means you cannot disable the button via a signal right?
Maybe MaybeSignal<Option<icondata_core::Icon>>
would be better?
The
icon
prop in theButton
component is of typeOption<icondata_core::Icon>
, which means it's not possible to change the icon based on a signal.Is it possible for the
icon
prop use a signal instead?