0.7.2 • Published 5 years ago

@kata-kit/banner v0.7.2

Weekly downloads
16
License
Apache-2.0
Repository
github
Last release
5 years ago

@wicara/banner

Banner component for Wicara.

Install

# yarn
yarn add @kata-kit/banner
# npm
npm install @kata-kit/banner

Usage

To use this component within your React app, import as follows:

import { Banner } from '@kata-kit/banner';

const Component = () => (
  <Banner state="success" message="An alert! - You've succesfully read it." />
);

See more usage in the JSX panel

Props

PropertyTypeRequiredDefault
color'error', 'success', 'warning', 'info'Yes-
messageanyYes-
classNamestring-undefined
onClose(e: any) => void-undefined
0.7.2

5 years ago

0.7.2-canary.1

5 years ago

0.7.2-canary.0

5 years ago

0.7.1

5 years ago

0.7.1-canary.0

5 years ago

0.7.0

5 years ago

0.7.0-beta.1

5 years ago

0.7.0-beta.0

5 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago