Rebuild all components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
import { Tag } from "sigpro";
|
||||
|
||||
export const Fab = (props, children) => {
|
||||
const { class: className, position = "bottom-6 right-6", ...rest } = props;
|
||||
|
||||
return Tag("div", {
|
||||
...rest,
|
||||
class: `absolute ${position} flex flex-col-reverse items-end gap-3 z-[100] ${className || ''}`.trim()
|
||||
}, children);
|
||||
children === undefined && (children = props, props = {});
|
||||
return Tag("div", { ...props, class: `fab ${props.class ?? ''}` }, children);
|
||||
};
|
||||
Reference in New Issue
Block a user