laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.93k stars 809 forks source link

Refactor from switch statement to match statement for dropdown blade component #1509

Closed phingoc1 closed 1 week ago

phingoc1 commented 1 week ago

Refactored the switch statements to match statements in dropdown blade component (livewire stack) to make it slimmer and more readable.

I have removed default value from the $alignmentClasses match statement since all usage of this component have align="right" out of the box.

github-actions[bot] commented 1 week ago

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.