JSPM

@instructure/ui-badge

10.18.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7272
  • Score
    100M100P100Q126483F
  • License MIT

A badge component

Package Exports

  • @instructure/ui-badge
  • @instructure/ui-badge/es/index.js
  • @instructure/ui-badge/lib/Badge
  • @instructure/ui-badge/lib/Badge/index.js
  • @instructure/ui-badge/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-badge) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-badge

npm MIT License Code of Conduct

A badge component.

Components

The ui-badge package contains the following:

Installation

npm install @instructure/ui-badge

Usage

---
type: code
---
import React from 'react'
import { Badge } from '@instructure/ui-badge'

const MyBadge = () => {
  return (
    <Badge count={99}>
      <Button>Edits</Button>
    </Badge>
  )
}