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