Skip to content

Instantly share code, notes, and snippets.

@Moizsohail
Created March 3, 2022 05:37
Show Gist options
  • Save Moizsohail/08f78301b39ac913a6c61789b8e952ca to your computer and use it in GitHub Desktop.
Save Moizsohail/08f78301b39ac913a6c61789b8e952ca to your computer and use it in GitHub Desktop.
Medium: Chrome Extension With React And NPM Modules: Part 1
import React from "react";
import { Button, Container, FormControl, Navbar } from "react-bootstrap";
const Home = () => (
<>
<Navbar bg="primary" className="px-3" expand="lg" variant="dark">
<Navbar.Brand>Our Mooo Extension</Navbar.Brand>
</Navbar>
<Container className="w-100 h-100 p-3">
<FormControl placeholder="What to Moo?"></FormControl>
<div className="d-flex mt-3 justify-content-end">
<Button>Let's Mooo</Button>
</div>
</Container>
</>
);
export default Home;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment