how to import file react code example Example: import react import React, { Component } from 'react';