changed to new functions
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// components/Loading.js
|
||||
import { Tag } from "sigpro";
|
||||
import { h } from "sigpro";
|
||||
|
||||
export const Loading = (props, children) => {
|
||||
children === undefined && (children = props, props = {});
|
||||
return Tag("span", { ...props, class: `loading loading-spinner ${props.class ?? ''}` }, children);
|
||||
return h("span", { ...props, class: `loading loading-spinner ${props.class ?? ''}` }, children);
|
||||
};
|
||||
Reference in New Issue
Block a user