typescript type for jsx element

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
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}