Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/enterprise-web-development.
Something went wrong. Try again.
123456789import type { ParentProps } from "solid-js";
/** Convenience component to get tooling support like Tailwind CSS autocomplete for class attribute */export default function Body(properties: ParentProps<{ class: string }>) { // SolidJS runs this function only once when rendering the component document.body.className = properties.class; return properties.children;}