Open NiteshSingh17 opened 1 month ago
Latest commit: 04e68484016471ab1c4b1bbf5f1eaf59d364ad7d
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
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 | May 27, 2024 5:34pm |
flowbite-react-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 27, 2024 5:34pm |
The recent update in Accordion.tsx
enhances the AccordionComponent
by making it more flexible. It now allows child components to override default properties, such as alwaysOpen
, arrowIcon
, flush
, isOpen
, and setOpen
. This change improves the component's adaptability to various use cases.
File | Change Summary |
---|---|
packages/ui/src/components/Accordion/Accordion.tsx |
Updated the AccordionComponent to enable child components to override default props. |
In the land of code where changes flow,
The Accordion learns to bend and grow.
With props that flex and options bright,
Each child can now set its own light.
Adapt and shine, oh code so grand,
A better UI at our command. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summarize the changes made and the motivation behind them.
Reference related issues using
#
followed by the issue number.If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.
Changes
issue: https://github.com/themesberg/flowbite-react/issues/735
Summary by CodeRabbit