Answers for "Invariant Violation: The title prop of a Button must be a string"

0

Invariant Violation: The title prop of a Button must be a string

Just add a title prop to the Button.
i.e. 

<Button
	onPress={() => {
    navigation.push("Screen 2, {paramA: 'Hello:' })
    }}
	title="Press here"
/>
Posted by: Guest on April-12-2021

Code answers related to "Invariant Violation: The title prop of a Button must be a string"

Browse Popular Code Answers by Language