@ied/nav-card

A component that represents a NavCard

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/nav-card
1.0.1a year ago4 years agoMinified + gzip package size for @ied/nav-card in KB

Readme

NavCard

Install

yarn add @ied/nav-card

Requirement

If you use icon property, add this in your index.html
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Use

import NavCard from '@ied/nav-card'

<NavCard title="Informations" description="Update your profile" icon="person" />

Types

type Props = {
  title: string,
  description?: string,
  icon?: string,
  notifications?: number,
  notificationsMax?: number,
  style?: {},
  className?: string
}