Closed OlekRia closed 3 years ago
These two snippets should return ReactElement like this:
const EditNavigation = (props: EditNavigationProps): ReactElement => {
or
const EditNavigation = (props: EditNavigationProps): JSX.Element => {
up on your choice.
P.S. interface should be exported IMHO.
tracked in #175
These two snippets should return ReactElement like this:
const EditNavigation = (props: EditNavigationProps): ReactElement => {
or
const EditNavigation = (props: EditNavigationProps): JSX.Element => {
up on your choice.
P.S. interface should be exported IMHO.