A React card component.
mega-card serves as a simple card component.
npm install mega-card
yarn add mega-card
import React from 'react'
import Navvy from 'navvy'
const App = () => {
return <MegaCard />
}
export default App
{
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.
}
- [] Add tests.
- Alex Lee - Developer
- Icon made by Freepik from www.flaticon.com and is licensed by CC 3.0 BY.