7.5.0 • Published 2 years ago

@praveen_muthu503/newflipcard v7.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Usage

Creat a card with us

Install

npm i @praveen_muthu503/newflipcard

The component accepts the following props: 1.name : string 2.price : number 3.content : string 4.onClick : function 5.buttonText : string 6.changeColor : function 7.image : string

import "./App.css";

import {NewFlipCard} from "@praveen_muthu503/newflipcard"

function App() {

const handleBuy =()=>{

}
const handleHeartToggle =()=>{

}

return (

<div className="App">

 <NewFlipCard 
 buttonText={"Buy Now"}
 price={100} 
 image="https://images.puma.com/image/upload/f_auto,q_auto,b_rgb:fafafa,w_600,h_600/global/380697/03/sv01/fnd/IND/fmt/png/Wild-Rider-Layers-Unisex-Sneakers" 
 name="PUMA" 
 content={"Welcome"} 
 onClick={handleBuy} 
 changeColor={handleHeartToggle} />

</div>

); }

export default App;

Codesandbox link

https://codesandbox.io/s/delicate-resonance-i71rl0?file=/src/App.js

7.5.0

2 years ago

7.0.0

2 years ago

6.12.0

2 years ago

6.11.0

2 years ago

6.10.0

2 years ago

6.9.0

2 years ago

6.8.0

2 years ago

6.7.0

2 years ago

6.6.0

2 years ago

6.5.0

2 years ago

6.4.0

2 years ago

6.3.0

2 years ago

6.2.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

5.0.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago