-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I'm trying to use this in a Next w/Typescript project:
<SashContent className={styles.sashWrapLineActive}>
<span className={styles.sashWrapLine}></span>
</SashContent>Typescript complains about the span element:
types.d.ts(60, 5): The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & ISashContentProps'
Do I need to add anything to allow the element or is this a bug in split-pane-react?
On the interface, I see children is defined as JSX.Element[]
Metadata
Metadata
Assignees
Labels
No labels