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