From a5c7756d188f818ab00e8836cceb00a6836fefc5 Mon Sep 17 00:00:00 2001 From: Kazuya Takei Date: Thu, 28 Nov 2024 03:16:46 +0900 Subject: [PATCH] fix: Add style settings --- src/components/layouts.tsx | 2 ++ src/routes/view.tsx | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/components/layouts.tsx b/src/components/layouts.tsx index 007759c..b2d936c 100644 --- a/src/components/layouts.tsx +++ b/src/components/layouts.tsx @@ -3,6 +3,7 @@ import { html } from 'hono/html'; type LayoutProps = { title: string; + style?: any; // TODO: Find HTMLEscapedString cssUrls?: string[]; jsUrls?: string[]; }; @@ -20,6 +21,7 @@ export const Layout: FC> = (props) => { {props.jsUrls?.map((js) => (