Simple, easy to use and flexible cards in React.
npm install --save react-simple-card
The simplest example
import React from "react";
import { render } from "react-dom";
import { Card, CardHeader, CardBody, CardFooter } from "react-simple-card";
const App = () => (
<Card>
<CardHeader>Header</CardHeader>
<CardBody>Body</CardBody>
<CardFooter>Footer</CardFooter>
</Card>
);
render(<App />, document.getElementById("root"));
All examples can be found in this issue or in /examples
folder.
npm run setup
- Install allnpm
andflow-typed
packagesnpm test
- Run all tests (Jest)npm run flow
- Run static type checker (Flow)
Please check CONTRIBUTING.md to get started.
MIT License
Copyright (c) 2017 Edvins Antonovs