export const CreateAccount = ({ formData, setForm, navigation, submitForm}) => { const { firstName, email, password } = formData;
at this i want to put extends React.Component but without changing all this .
Looks like you are using a functional component. You don't need to extends from React. Component for the functional component.
1.4m articles
1.4m replys
5 comments
56.9k users