x
1
<div><button type="button" class="whitespace-nowrap inline-flex items-center justify-center rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 text-primary underline-offset-4 hover:underline px-4 py-2 h-9 text-sm">Link</button></div>
1
2
3
render(TestView.new) do
Button(variant:, size:) { variant.capitalize }
end