import { type Component, createSignal } from "solid-js";
import { NotepadView } from "./NotepadView";

export const EmbedNotesView: Component = () => {
    const [selectedNoteId, setSelectedNoteId] = createSignal<string | null>(null);

    return (
        <div class="h-full w-full">
            <NotepadView
                selectedNoteId={selectedNoteId()}
                setSelectedNoteId={setSelectedNoteId}
            />
        </div>
    );
};
