mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #46657 react-email-editor: add missing configuration properties by @Adam-Howarth
* Added missing configuration properties for react-email-editor (Unlayer) The additional properties are defined here: https://docs.unlayer.com/docs/features#emojis * Missing brace * Duplicate definition
This commit is contained in:
parent
e182b4dfdb
commit
9fc4c8ebb8
9
types/react-email-editor/index.d.ts
vendored
9
types/react-email-editor/index.d.ts
vendored
@ -71,6 +71,15 @@ export interface Features {
|
||||
readonly preview?: boolean;
|
||||
readonly imageEditor?: boolean;
|
||||
readonly undoRedo?: boolean;
|
||||
readonly stockImages?: boolean;
|
||||
readonly textEditor?: TextEditor;
|
||||
}
|
||||
|
||||
export interface TextEditor {
|
||||
readonly spellChecker?: boolean;
|
||||
readonly tables?: boolean;
|
||||
readonly cleanPaste?: boolean;
|
||||
readonly emojis?: boolean;
|
||||
}
|
||||
|
||||
export type Translations = Record<string, Record<string, string>>;
|
||||
|
||||
@ -121,6 +121,13 @@ class App extends React.Component {
|
||||
preview: true,
|
||||
imageEditor: false,
|
||||
undoRedo: true,
|
||||
stockImages: false,
|
||||
textEditor: {
|
||||
spellChecker: true,
|
||||
tables: false,
|
||||
cleanPaste: true,
|
||||
emojis: true,
|
||||
},
|
||||
},
|
||||
translations: {
|
||||
en: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user