-
Notifications
You must be signed in to change notification settings - Fork 0
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: create menu item component #285
Conversation
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.
Nice
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.
this component will need to support being both a link and a button because it will also open other modals and for that a button with an @click
is needed! if you want some inspiration you can check how i did it with the button
component
645fe7b
to
aa48683
Compare
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.
looks great!
Reusable Blade Component:
<x-menu-item>
Overview
This Blade component defines custom link variants within a menu, supporting different styles:
default
,highlights
, anddestructive
.Features
default
,highlights
, anddestructive
.Implementation
Example Usage
closes #60