Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Enliven-se/react-bootstrap-card

 
 

Repository files navigation

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';

About

Simple React Bootstrap 3 components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%