Open tommygiesbrecht opened 1 month ago
Someone is attempting to deploy a commit to the Themesberg Team on Vercel.
A member of the Team first needs to authorize it.
This update enhances the Button.svelte
component by incorporating the spread operator to pass all additional properties to the <svelte:element>
within a conditional statement. This change simplifies prop management and increases the component's flexibility without altering any public or exported entities.
File | Change Summary |
---|---|
.../Button.svelte |
Added spread operator to pass all remaining props conditionally |
πβ¨ A tiny tweak in the code, a giant leap for flexibility, Now Button dances with props, so sprightly and nimbly. Through fields of code it hops, with ease and grace, Spreading joy with each prop, in its rightful place. ππ°π»
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flowbite-svelte | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Apr 26, 2024 6:47pm |
I intentionally removed it. Please see https://github.com/themesberg/flowbite-svelte/issues/1328.
@shinokada
The button has no attribute disabled
. So my test cases failed because I can't check if the button is disabled. Maybe we can add disabled={true}
instead of {...$$restProps}
Closes #
π Description
The
disabled
attribute is not applied to the button.Status
β Checks
βΉ Additional Information