diff --git a/src/demo-components/SpellingDemo.tsx b/src/demo-components/SpellingDemo.tsx index 9b79980..5625928 100644 --- a/src/demo-components/SpellingDemo.tsx +++ b/src/demo-components/SpellingDemo.tsx @@ -1,5 +1,4 @@ import Examples from "../components/src/Examples"; -import ButtonSelect from "../components/src/ButtonSelect"; import * as T from "../types"; const spellingOptions: { @@ -58,7 +57,7 @@ function SpellingDemo({ opts, onChange }: { { @@ -83,7 +82,7 @@ function SpellingDemo({ opts, onChange }: { { @@ -100,16 +99,44 @@ function SpellingDemo({ opts, onChange }: { ))} -
-
Diacritics
- onChange({ ...opts, diacritics: p === "true" })} - /> +
+
Diacritics Engine:
+
+
+ { + onChange({ + ...opts, + diacritics: true, + }); + }} + /> + +
+
+ { + onChange({ + ...opts, + diacritics: false, + }); + }} + /> + +
+