Skip to content

React 18 error #19

@fturiot

Description

@fturiot

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions