All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
7 lines
218 B
JavaScript
7 lines
218 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);
|
|
};
|