UNPKG
@wq/material-web
Version:
latest (2.1.0)
next (3.0.0-alpha.0)
3.0.0-alpha.0
2.1.0
2.0.0
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0
Web bindings for @wq/material
wq.io/@wq/material
wq/wq.app
@wq/material-web
/
src
/
components
/
ButtonLink.js
8 lines
(6 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
"react"
;
import
{ useComponents,
Link
}
from
"@wq/react"
;
export
default
function
ButtonLink
(
props
) {
const
{
Button
} =
useComponents
();
return
<
Button
component
=
{Link}
{
...props
} />
; }