Update new functions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// components/Navbar.js
|
||||
import { $html } from "../sigpro.js";
|
||||
import { Tag } from "../sigpro.js";
|
||||
import { ui } from "../core/utils.js";
|
||||
|
||||
/**
|
||||
@@ -12,5 +12,5 @@ import { ui } from "../core/utils.js";
|
||||
export const Navbar = (props, children) => {
|
||||
const { class: className, ...rest } = props;
|
||||
|
||||
return $html("div", { ...rest, class: ui('navbar bg-base-100 shadow-sm px-4', className) }, children);
|
||||
return Tag("div", { ...rest, class: ui('navbar bg-base-100 shadow-sm px-4', className) }, children);
|
||||
};
|
||||
Reference in New Issue
Block a user