0.2.1 • Published 5 years ago

react-bootstrap-card v0.2.1

Weekly downloads
97
License
MIT
Repository
github
Last release
5 years ago

react-bootstrap-card

React Card wrapper for bootstrap 3 from Reactstrap

Its JSX only component, if you need CSS, look here:

https://github.com/martinbean/bootstrap-3-card

npm i bootstrap-3-card

Using

Documentation here https://reactstrap.github.io/components/card/

const card = (
  <Card>
    <CardBlock>
      <CardTitle>
        Some Title
      </CardTitle>
      Some body
    </CardBlock>
    <CardFooter className="text-xs-center">
      Some Footer
    </CardFooter>
  </Card>
);

Import

You can export Cards direct from react-bootstrap-card

import {
  Card,
  CardBlock,
  CardFooter,
  CardTitle,
  CardText,
} from 'react-bootstrap-card';
import {
  Col,
  Row,
} from 'react-bootstrap';

Or use polyfill and then export Card from react-bootstrap

import 'react-bootstrap-card/react-bootstrap-polyfill';
import {
  Card,
  CardBlock,
  CardFooter,
  CardTitle,
  CardText,
  Col,
  Row,
} from 'react-bootstrap';
0.2.1

5 years ago

0.2.0

5 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.0

7 years ago