This commit is contained in:
@@ -3,4 +3,4 @@ import { h } from "sigpro";
|
||||
export const Button = (props, children) => {
|
||||
children === undefined && (children = props, props = {});
|
||||
return h("button", { ...props, class: `btn ${props.class ?? ''}` }, children);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user