@ied/nav-card

A component that represents a NavCard

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/nav-card
1.0.16 months 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
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.