Closed miguelrk closed 7 months ago
Closing as done. Each layout component now supports a ui
prop to allow tapping into the indivudual (sub-)components. This however no longer happens via the plugin, but by explicitly using layout components in an _app.tsx
. For example:
import * as Layout from "netzo/components/layout/mod.ts";
export default defineApp((req, ctx) => {
return (
...
<Layout.Nav ui={ root: { className: "bg-red-500" } } />
...
);
})
Currently, the user has no way to customize the individual sub-components being used/injected by the
ui
module. All submodules of theui
module should expose aui
prop, which allows passing props to each individual component, for example: