Created
April 6, 2021 19:34
-
-
Save luismendes070/4fe5b38ea66a477d114cf1ccdbb4b2d2 to your computer and use it in GitHub Desktop.
render props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(JSX attribute) position: number[] | |
O tipo '{ position: number[]; mymap: number[][]; mapData: number[][]; }' não pode ser atribuído ao tipo 'IntrinsicAttributes & IntrinsicClassAttributes<Tab1> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'. | |
A propriedade 'position' não existe no tipo 'IntrinsicAttributes & IntrinsicClassAttributes<Tab1> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'.ts(2322) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<ErrorBoundary> <Tab1 position={[51.505, -0.09]} mymap={[ [51.515, -0.09], [51.52, -0.1], [51.52, -0.12], ]} mapData={ [ [51.515, -0.09], [51.52, -0.1], [51.52, -0.12], ] }/> </ErrorBoundary>