Skip to content

Commit f82884a

Browse files
feat(components/editable): export useEditableControls
1 parent 52fd0f5 commit f82884a

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

lib/components/editable/index.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
export type { EditableInputProps, EditablePreviewProps, EditableProps, EditableTextareaProps } from './wrapper';
2-
export { Editable, EditableInput, EditablePreview, EditableTextarea } from './wrapper';
1+
export type {
2+
EditableInputProps,
3+
EditablePreviewProps,
4+
EditableProps,
5+
EditableTextareaProps,
6+
UseEditableProps,
7+
UseEditableReturn,
8+
} from './wrapper';
9+
export { Editable, EditableInput, EditablePreview, EditableTextarea, useEditableControls } from './wrapper';
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
export type { EditableInputProps, EditablePreviewProps, EditableProps, EditableTextareaProps } from '@chakra-ui/react';
2-
export { Editable, EditableInput, EditablePreview, EditableTextarea } from '@chakra-ui/react';
1+
export type {
2+
EditableInputProps,
3+
EditablePreviewProps,
4+
EditableProps,
5+
EditableTextareaProps,
6+
UseEditableProps,
7+
UseEditableReturn,
8+
} from '@chakra-ui/react';
9+
export { Editable, EditableInput, EditablePreview, EditableTextarea, useEditableControls } from '@chakra-ui/react';

0 commit comments

Comments
 (0)