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