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
/
components
/
ButtonLink.js
10 lines
(9 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
React
from
"react"
;
import
{ useComponents,
Link
}
from
"@wq/react"
;
export
default
function
ButtonLink
(
props
) {
const
{
Button
} =
useComponents
();
return
/*#__PURE__*/
React
.
createElement
(
Button
, {
component
:
Link
, ...props, }); }