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