| What is the correct syntax to import a Component from React?
Choose the correct option from below list
(1)import React.Component from 'react'
(2)import [ Component ] from 'react'
(3)import Component from 'react'
(4)import { Component } from 'react'
Answer:-(4)import { Component } from 'react' | | |