diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 6900d19..049ba73 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -1,3 +1,4 @@ +import { useState } from "react"; import type { ReactNode } from "react"; import { useBook } from "../store/useBook"; import { Icon } from "./Icon"; @@ -11,6 +12,15 @@ const LANGUAGES = [ { value: "pt", label: "Portuguese" }, ]; +interface Draft { + title: string; + subtitle: string; + author: string; + isbn: string; + language: string; + bleed: boolean; +} + function Field({ label, children }: { label: string; children: ReactNode }) { return (