importing component with other nae in reactjs code example Example: import react import React, { Component } from 'react';