-
Notifications
You must be signed in to change notification settings - Fork 455
Open
Description
How to solve problem with type children
export const DocumentationView = React.memo<DocumentationViewProps>(
({ testID = 'DocumentationView', style, data }) => {
const styles = createStyles()
return (
<View style={[styles.root, style]} testID={testID}>
<Markdown style={markdownStyles}>{data}</Markdown>
</View>
)
},
)
TS2559: Type '{ children: any; }' has no properties in common with type 'IntrinsicAttributes & MarkdownProps'.
Metadata
Metadata
Assignees
Labels
No labels