Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(src/components/navbar): fix wrong type on <Navbar theme> #836

Merged
merged 2 commits into from
Jul 1, 2023

Conversation

tulup-conner
Copy link
Collaborator

@tulup-conner tulup-conner commented Jul 1, 2023

Description

You should only put the contents of useTheme().theme.navbar.root here, not
useTheme().theme.navbar as a whole. To migrate if you use <Navbar theme={}, remove root: { .. } from your custom theme. If you customized child components here, you'll need to move those
changes to each child's theme={} attribute.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Breaking changes

TODO

How Has This Been Tested?

  • Vercel deployment

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

You should only put the contents of `useTheme().theme.navbar.root` here, not
`useTheme().theme.navbar` as a whole. To migrate if you use `<Navbar theme={}`, remove `root: { ..
}` from your custom theme. If you customized child components here, you'll need to move those
changes to each child's `theme={}` attribute.
@vercel
Copy link

vercel bot commented Jul 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2023 3:04am

@tulup-conner tulup-conner changed the title Fix/navbar theme param fix(src/components/navbar): fix wrong type on <Navbar theme> Jul 1, 2023
@tulup-conner tulup-conner marked this pull request as ready for review July 1, 2023 03:09
@tulup-conner tulup-conner merged commit 77ed26a into main Jul 1, 2023
@tulup-conner tulup-conner deleted the fix/navbar-theme-param branch July 1, 2023 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant