Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

add bootstrap to gatsby

import React from 'react';
import { Button } from 'react-bootstrap';

const MyComponent = () => (
      <div>
        <p>This contains a button which is exported by react-bootstrap</p>
        <Button variant="primary">Primary</Button>
    </div>
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #bootstrap #gatsby
ADD COMMENT
Topic
Name
5+9 =