From 71cd9c37a670c21fd507c67250cd5ebea5195623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ricles=20Emanuel?= Date: Sun, 7 Jan 2024 19:55:06 -0300 Subject: [PATCH] feat: add title to editor props --- islands/NRF/Editor.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/islands/NRF/Editor.tsx b/islands/NRF/Editor.tsx index 266f523e..066f2356 100644 --- a/islands/NRF/Editor.tsx +++ b/islands/NRF/Editor.tsx @@ -25,6 +25,7 @@ export interface EditorFeature { } export interface Props { + title: string; features: EditorFeature[]; } @@ -39,7 +40,7 @@ const AnimationComponents = { "content-modeling": ContentModeling, }; -export default function Editor({ features }: Props) { +export default function Editor({ title, features }: Props) { const currentFeature = useSignal(null); useEffect(() => { @@ -175,7 +176,7 @@ export default function Editor({ features }: Props) {