CHEWCHEWW / react-web-editor

The react-web-editor is a WYSIWYG editor library. you can resize and drag your component. It also has simple rich text editor
https://reactwebeditor.com
262 stars 34 forks source link

React 18 error #19

Open fturiot opened 2 years ago

fturiot commented 2 years ago

Hello, I test with react 18 but i have this problem (typesript + react 18)

const EditableBoard: React.FC import EditableBoard Impossible d'assigner le type '{ children: Element[]; unit: string; width: number; height: number; backgroundColor: string; }' au type 'IntrinsicAttributes & EditableBoard'. La propriété 'children' n'existe pas sur le type 'IntrinsicAttributes & EditableBoard'.ts(2322)

thanks

timrijkse commented 1 year ago

I made a PR for this https://github.com/CHEWCHEWW/react-web-editor/pull/20

antoine10245 commented 1 year ago

merge will be highly appreciated!

florentpergoud commented 1 year ago

@CHEWCHEWW Yeah merge would be really helpfull !

w0rldart commented 10 months ago

Hey @CHEWCHEWW is this project still alive?

ebrubastug commented 7 months ago

Hi, Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: I am getting error. Can you help me? urgent 🚨 ‼️ @timrijkse @CHEWCHEWW

ebrubastug commented 7 months ago

I made a PR for this #20

How can I use this version? Urgent helpp please @timrijkse