0.2.0 • Published 5 years ago

mega-card v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

NPM Version NPM Total Downloads npm bundle size (minified + gzip) Coverage Status Build Status


📝 Table of Contents

🧐 About

mega-card serves as a simple card component.

📦 Installing

NPM

npm install mega-card

Yarn

yarn add mega-card

🎈 Usage

import React from 'react'
import Navvy from 'navvy'

const App = () => {
  return <MegaCard />
}

export default App

⚙ Options

{
  background: 'white' // Background color.
  color: 'blue' // Theme color.
  data: '$100.00' // Data to display.
  icon: 'Info' // Grommet Icon to display.
  indicator: true // Whether or not to display an indicator bubble.
  shadowSize: 'small' // Size of box-shadow
  shadowType: 'dark' // Color of box-shadow.
  title: 'Title' // Title to display.
  titleColor: 'blue' // Color of Title.
  type: 'card' // Type of MegaCard to render.
}

⛏️ Built Using

✏️ TODO

  • [] Add tests.

✍️ Author

🎉 Acknowledgements