25 lines
898 B
React
25 lines
898 B
React
|
export default function Example() {
|
||
|
return (
|
||
|
<span className="isolate inline-flex rounded-md shadow-sm">
|
||
|
<button
|
||
|
type="button"
|
||
|
className="relative inline-flex items-center rounded-l-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
|
||
|
>
|
||
|
Years
|
||
|
</button>
|
||
|
<button
|
||
|
type="button"
|
||
|
className="relative -ml-px inline-flex items-center bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
|
||
|
>
|
||
|
Months
|
||
|
</button>
|
||
|
<button
|
||
|
type="button"
|
||
|
className="relative -ml-px inline-flex items-center rounded-r-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
|
||
|
>
|
||
|
Days
|
||
|
</button>
|
||
|
</span>
|
||
|
)
|
||
|
}
|