1.0.6 • Published 4 years ago

dynamic-card v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Dynamic Card

npm GitHub stars

Twitter Follow

a light-weight React Dynamic Card Component.

npm.io

Installation

npm i dynamic-card

Usage

import DynamicCard from 'dynamic-card';
import Img from './test.jpg'

const MyCard = () => {
    <DynamicCard
        Img={Img}
        Category={"Episode 1"}
        Title={"Responsible growth for the long term"}
        Summary={"Going all out to maximize the revenue from your app or game won’t necessarily guarantee"+
        "that you’ll have a healthy business in the future. Sometimes, respecting your user and pulling back"+
        "from extracting everything you can from them may be the key to long-term success. A more holistic approach,"+
        " one which considers the game, the players, and the people who create the game can reap big rewards . "+
        " In this episode our hosts are joined by Sarah Fuchs and Judy Check from Crowdstar, "+
        " a game developer that has built their long term success by taking an unconventional path by game industry standards..."}
        AuthorName={"Apps, Games & Insights"}
        AuthorDate={"March 5, 2020"}
        onClick={()=>{console.log("Click")}}
    />
}

API

paramdetailtyperequire*
Imgcard image which will display when mouse enterstringtrue
Categorycard category of the detailstringtrue
Titletitle of the cardstringtrue
Summarysummary of the cardstringtrue
AuthorNamethe name of this card's createrstringtrue
AuthorDatethe date detail of this cardstringtrue
onClickonClick Event handlerfunctionfalse
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago