JSPM

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

The bootstrap alert component created with styled-components

Package Exports

  • @arnat/styled-alert

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 (@arnat/styled-alert) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ARNAT Styled Alert

npm Travis branch Codecov branch storybook lerna

Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.

Usage

// import { Alert } from 'styled-bootstrap-components';
import { Alert } from '@arnat/styled-alert';

const SuccessAlert = props => <Alert success>Well done!</Alert>;

Import components from @arnat/styled-bootstrap if you have it installed.

Properties

Properties which can be added to the component to change the visual appearance.

  • noRadius Type: boolean
  • pill Type: boolean
  • primary Type: boolean
  • secondary Type: boolean
  • success Type: boolean
  • danger Type: boolean
  • warning Type: boolean
  • info Type: boolean
  • light Type: boolean
  • dark Type: boolean