-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
feat : KBD component #969
feat : KBD component #969
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #969 +/- ##
==========================================
- Coverage 99.54% 93.52% -6.03%
==========================================
Files 163 182 +19
Lines 6621 7892 +1271
Branches 401 439 +38
==========================================
+ Hits 6591 7381 +790
- Misses 30 511 +481
☔ View full report in Codecov by Sentry. |
I am going to write some tests and it should be ready for review after. I am open to change whatever is suggested. thanks |
@MateoWartelle please, do not use merge, use rebase instead. |
app/docs/components/kbd/kbd.mdx
Outdated
<CodePreview | ||
importFlowbiteReact="Kbd" | ||
importExternal="import { MdKeyboardArrowLeft, MdKeyboardArrowRight, MdKeyboardArrowDown, MdKeyboardArrowUp } from 'react-icons/md';" | ||
title="Arrow Keys Kbd" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arrow Keys KDB
Looks nice, @MateoWartelle - just some small details that need to be fixed and we are good to get it merged. |
* feat: kBD (Keyboard) component * feat: add kbd story (default, withIcon) * feat: remove extra sentence + flex wrap letter keys * docs: fix docs * feat: kbd basic tests, storybook withIcon + onlyIcon * docs: add missing importExternal for arrow keys docs * docs: review changes for documentation
Summarize the changes made and the motivation behind them.
Kbd component to match existing flowbite library
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.