@arnat/styled-alert
v0.0.12
Published
The bootstrap alert component created with styled-components
Downloads
20
Readme
ARNAT Styled Alert
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: booleanpill
Type: booleanprimary
Type: booleansecondary
Type: booleansuccess
Type: booleandanger
Type: booleanwarning
Type: booleaninfo
Type: booleanlight
Type: booleandark
Type: boolean