@wener/console
Version:
Base console UI toolkit
9 lines (8 loc) • 325 B
JavaScript
import { GrSystem } from "react-icons/gr";
import { flexRender } from "@wener/reaction";
import { useContextStore } from "../hooks/index.js";
export var SiteLogo = function (props) {
var useWatch = useContextStore().useWatch;
var logo = useWatch("site.logo");
return flexRender(logo || GrSystem, props, true);
};