Closed paghar closed 3 months ago
Run & review this pull request in StackBlitz Codeflow.
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 | Mar 19, 2024 8:39am |
The recent update introduces the capability to use custom icons in lists, enhancing the visual appeal and functionality of list components. This change spans across documentation, example code, and source files, focusing on the implementation of a new React component for lists with icons and updating the List
and ListItem
components to support icons through theme adjustments and new props.
Files | Change Summary |
---|---|
content/docs/typography/list.mdx |
Added section on using custom icons in lists. |
examples/list/index.ts examples/list/list.icon.tsx |
Added export of icon and introduced a component for lists with icons. |
src/components/List/List.tsx src/components/List/ListItem.tsx src/components/List/theme.ts |
Updated List and ListItem for icon support; added FlowbiteListItemTheme and updated styling. |
🐰✨
In the realm of code, where lists align,
A rabbit hopped in, with an idea so fine.
"Let icons and text, together be shown,
Enhancing the lists, with a style of their own."
So with a little hop, and a joyful tweak,
The lists now unique, their beauty we seek.
🌟📜
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?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.53%. Comparing base (
7461173
) to head (281feff
). Report is 202 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adding the new with-icon state to the list component
Summary by CodeRabbit
New Features
Documentation