cards-tesseract-lib

1.0.1 • Public • Published

Card Component

The Card component is a reusable React component that can be used to display a card with a title and content. It also supports a selected state, which can be used to highlight the card.

Installation

To use the Card component in your React application, you can simply import it as follows:

import Card from 'cards-tesseract-lib'; 

## Usage
`import { Card } from "cards-tesseract-lib";
function App() {
	return (
            <div>
    			<h1>Card Sample </h1>
    			<Card title="Card 1" content="Content 1" selected={true} />
    			<Card title="Card 2" content="Content 2" selected={false} />
    			<Card title="Card 3" content="Content 3" selected={true} />
    		</div>
	)
};

export default App;`

Readme

Keywords

none

Package Sidebar

Install

npm i cards-tesseract-lib

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

13.3 kB

Total Files

10

Last publish

Collaborators

  • surbhi605