2.0.2 • Published 3 years ago

kodobe-react-card v2.0.2

Weekly downloads
9
License
ISC
Repository
-
Last release
3 years ago

Kodobe React Card

This is a simple react card package

Install

npm install kodobe-react-card

or

yarn add kodobe-react-card

Setup

import Card from 'kodobe-react-card';

Usage

import Card from "kodobe-react-card";

function App() {
    return (
        <div>
            <h3>Here is how to use a card</h3>
             <br />
            <Card heading="Heading" footing="Footing" block>
                <p>Hello, how are you today</p>
                <p>This is test for kodobe card</p>
                <p>This is different p tags</p>
            </Card>
        </div>
    );
}

Options

  • heading: (string, number, object)
  • footing: shows footing content (string, number, object)
  • lasting: shows at the far right side of the card (string, number, object)
  • leading: shows left side beside the heading(string, number, object)
  • children: render content inside the card (any, required)
  • block: fills the card if true (boolean)
  • style: style object
  • className: string
2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.3

3 years ago