Skip to content

Commit f77b68b

Browse files
authored
feat(deps): support react@18 (#83)
1 parent 1964b59 commit f77b68b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@
111111
"@doc-tools/transform": "^2.16.0",
112112
"@gravity-ui/uikit": "^3.18.0 || ^4.1.0",
113113
"lodash": "^4.17.20",
114-
"react": "^16.8.0 || ^17.0.0",
115-
"react-dom": "^16.8.0 || ^17.0.0"
114+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
115+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
116116
},
117117
"lint-staged": {
118118
"*.{css,scss}": [

src/react/YfmEditorComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type YfmEditorComponentProps = {
55
className?: string;
66
autofocus?: boolean;
77
editor: YfmEditor;
8+
children?: React.ReactNode;
89
};
910

1011
export const YfmEditorComponent: React.FC<YfmEditorComponentProps> = ({

0 commit comments

Comments
 (0)