Link
Generates a link to the given URL
Provides similar capabilities to Phoenix's built-in link/2
function.
Options label
and class
can be set directly and will override anything in opts
.
All other options are forwarded to the underlying <a> tag.
<Link
label="Go to source"
to="https://github.com/surface-ui/surface/blob/master/lib/surface/components/link.ex"
opts={{ data: [confirm: "Are you sure?"] }}
/>