Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ied/nav-card

iedbot14MIT1.0.1

A component that represents a NavCard

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
}