Skip to content

Commit

Permalink
add turkish locale type
Browse files Browse the repository at this point in the history
  • Loading branch information
ozanyurtsever committed Mar 4, 2024
1 parent a19519f commit 0ab2aab
Show file tree
Hide file tree
Showing 3 changed files with 12,583 additions and 12,583 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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' | null;
locale?: 'en' | 'fr' | 'ptBr' | 'ru' | 'tr' | null;
onChange?: (editorState: string, editorInstance?: LexicalEditor) => void;
}

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

0 comments on commit 0ab2aab

Please sign in to comment.