import Examples from "../components/src/Examples"; import * as T from "../types"; const spellingOptions: { value: T.TextOptions["spelling"], label: string, }[] = [ { value: "Afghan", label: "Afghan", }, { value: "Pakistani ي", label: "Pakistani ي", }, { value: "Pakistani ی", label: "Pakistani ی", }, ]; const phoneticsOptions: { value: T.TextOptions["phonetics"], label: string, }[] = [ { value: "lingdocs", label: "LingDocs", }, { value: "ipa", label: "IPA", }, { value: "alalc", label: "ALALC", }, ]; function SpellingDemo({ opts, onChange }: { opts: T.TextOptions, onChange: (opts: T.TextOptions) => void, }) { return