Skip to content

Commit e18c3f8

Browse files
committed
feat(text-editor): use uiType in editor
1 parent 343cddf commit e18c3f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/text-editor/text-editor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Languages } from '../date-picker/date.types';
44
import { createRandomString } from '../../util/random-string';
55
import { CustomElementDefinition } from '../../global/shared-types/custom-element.types';
66
import { TriggerCharacter, TriggerEventDetail } from './text-editor.types';
7+
import { EditorUiType } from './types';
78

89
/**
910
* A rich text editor that offers a rich text editing experience with markdown support,
@@ -151,7 +152,7 @@ export class TextEditor implements FormComponent<string> {
151152
* until the editor is focused.
152153
*/
153154
@Prop({ reflect: true })
154-
public ui?: 'standard' | 'minimal' = 'standard';
155+
public ui?: EditorUiType = 'standard';
155156

156157
/**
157158
* Dispatched when a change is made to the editor

0 commit comments

Comments
 (0)