typescript type for jsx element

Solutions on MaxInterview for typescript type for jsx element by the best coders in the world

showing results for - "typescript type for jsx element"
Fionn
10 Feb 2018
1// JSX element type = JSX.Element - See below
2//    Name       Type       props with PropType    Return type
3const Component: React.FC = (props: SomePropType): JSX.Element => {
4  return <div></div>;
5}