1.1.5 • Published 11 months ago
@djbauch/classification-banner v1.1.5
Overview
A react component that displays classification banners.
Usage
Install classification-banners via npm.
npm install @djbauch/classification-banner
or
yarn add @djbauch/classification-banner
Import the component and the CSS file from the library...
import { ClassificationBanner } from '@djbauch/classification-banner'
import '@djbauch/classification-banner/dist/ClassificationBanner.css'
… and add the JSX to use the component in your render
function:
<ClassificationBanner placement="top" classification="U" />
CodeSandbox example: https://codesandbox.io/p/sandbox/classification-banner-932hvk