Closed mattgallagher92 closed 2 months ago
It looks like the way daisyUI now represents buttons with loading spinners is by having a span with the loading class as a child of the button. The Feliz.DaisyUI equivalent is
Daisy.button.button [ button.primary prop.children [ Daisy.loading ] ]
which renders nicely:
However, the Feliz.DaisyUI API implies that something like this is sensible
Daisy.button.button [ button.primary button.loading ]
which doesn't render well:
I recommend marking button.loading as deprecated, with a message advising use of Daisy.loading as a child instead.
button.loading
Good point, fixed now!
It looks like the way daisyUI now represents buttons with loading spinners is by having a span with the loading class as a child of the button. The Feliz.DaisyUI equivalent is
which renders nicely:
However, the Feliz.DaisyUI API implies that something like this is sensible
which doesn't render well:
I recommend marking
button.loading
as deprecated, with a message advising use of Daisy.loading as a child instead.