import all the classes in a components react code example Example: import react import React, { Component } from 'react';