how to import and use react components code example Example: import react component import React, { Component } from 'react';