UNPKG

@wener/console

Version:

Base console UI toolkit

10 lines (9 loc) 360 B
import { GrSystem } from "react-icons/gr"; import { flexRender } from "@wener/reaction"; import { useContextStore } from "../../hooks/index.js"; export const SiteLogo = (props) => { const { useWatch } = useContextStore(); const logo = useWatch("site.logo"); return flexRender(logo || GrSystem, props, true); }; //# sourceMappingURL=SiteLogo.js.map