react use imported component code example Example: import react import React, { Component } from 'react';