Add missing return on button
This commit is contained in:
parent
3dbbc5b67a
commit
4cae31a72d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/theme-preact",
|
"name": "@hibas123/theme-preact",
|
||||||
"version": "1.0.2",
|
"version": "1.0.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -39,7 +39,9 @@ export default function Button({
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
<button className={cl} {...props}>
|
return (
|
||||||
{children}
|
<button className={cl} {...props}>
|
||||||
</button>;
|
{children}
|
||||||
|
</button>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user