All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
6 lines
217 B
JavaScript
6 lines
217 B
JavaScript
import { h } from "sigpro";
|
|
|
|
export const Button = (props, children) => {
|
|
children === undefined && (children = props, props = {});
|
|
return h("button", { ...props, class: `btn ${props.class ?? ''}` }, children);
|
|
}; |