@mindly/ui-components 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,4 +22,5 @@ export { ArchivedConsultationCard, DatePicker, Button, FloatingButton, FooterFor
22
22
  export type { SelectImpressionEmojiProps };
23
23
  export * from './lib/EntryNotFound';
24
24
  export * from './lib/consultation-card';
25
+ export * from './lib/TextEditor';
25
26
  export * from './lib/HorisontalCalendar';
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ export declare type TextEditorProps = {
3
+ defaultValue?: string;
4
+ onChange?: (value: string) => void;
5
+ };
6
+ export declare const TextEditor: FC<TextEditorProps>;
@@ -0,0 +1,7 @@
1
+ import RichTextEditor from 'react-rte';
2
+ declare type EditorContainerProps = {
3
+ isKeyboardOpen?: boolean;
4
+ keyboardHeight?: number;
5
+ };
6
+ export declare const EditorContainer: import("styled-components").StyledComponent<typeof RichTextEditor, any, EditorContainerProps, never>;
7
+ export {};
@@ -0,0 +1,19 @@
1
+ import { Component } from 'react';
2
+ import { EditorValue } from 'react-rte';
3
+ declare type TextEditorState = {
4
+ value: EditorValue;
5
+ };
6
+ declare type TextEditorProps = {
7
+ defaultValue?: string;
8
+ onChange?: (value: string) => void;
9
+ isKeyboardOpen?: boolean;
10
+ keyboardHeight?: number;
11
+ };
12
+ export declare class TextEditorContainer extends Component<TextEditorProps, TextEditorState> {
13
+ state: {
14
+ value: EditorValue;
15
+ };
16
+ onChange: (value: EditorValue) => void;
17
+ render(): JSX.Element;
18
+ }
19
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TextEditor';