x
1
<div><a href="#" 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 bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90 px-4 py-2 h-9 text-sm">Destructive</a></div>
1
2
3
render(TestView.new) do Link(href: "#", variant: :destructive) { "Destructive" }end
Destructive Link
No params configured.