how to switch component in laravel code example
Example 1: blade switch
@switch($i)
@case(1)
First case...
@break
@case(2)
Second case...
@break
@default
Default case...
@endswitch
Example 2: laravel components
<x-inputs.button/>