Skip to content

Commit

Permalink
add german locale type
Browse files Browse the repository at this point in the history
  • Loading branch information
ozanyurtsever committed Mar 4, 2024
1 parent 766b3f3 commit 7e09ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ interface IEditorProps {
placeholder?: string;
listMaxIndent?: number;
isEditable?: boolean;
locale?: 'en' | 'fr' | 'ptBr' | 'ru' | 'tr' | null;
locale?: 'en' | 'fr' | 'ptBr' | 'ru' | 'tr' | 'de' | null;
onChange?: (editorState: string, editorInstance?: LexicalEditor) => void;
}

Expand All @@ -65,7 +65,7 @@ const Editor = ({
listMaxIndent = 7,
placeholder = '',
isEditable = true,
locale = 'tr',
locale = null,
onChange,
}: IEditorProps) => {
const [editor] = useLexicalComposerContext();
Expand Down

0 comments on commit 7e09ab2

Please sign in to comment.