Some components' theme={}
don't allow partials
#646
Labels
🐛 bug
Something isn't working
confirmed
This bug was confirmed
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Describe the bug
With the latest update (
0.4.0
) thetheme
prop was added to a ton of components (thank you by the way, was waiting for this for a bit :3).The
Button
component has it as the following:This means the entirety of the
FlowbiteButtonTheme
interface needs to be included when passing it a custom theme.For reference, this is how other components are setup (
Card
example):To Reproduce
Steps to reproduce the behavior:
Button
component and use it.theme
prop.Expected behavior
The component should take in a partial interface and merge it with the default theme (the latter is already setup).
Project information:
The text was updated successfully, but these errors were encountered: