0.0.12 • Published 5 years ago
@arnat/styled-listgroup v0.0.12
ARNAT styled-listgroup
Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.
Usage
import { ListGroup, ListGroupItem } from '@arnat/styled-listgroup';
const MyListGroupComponent = props => (
<ListGroup>
<ListGroupItem active>Cras justo odio</ListGroupItem>
<ListGroupItem>Dapibus ac facilisis in</ListGroupItem>
<ListGroupItem>Morbi leo risus</ListGroupItem>
<ListGroupItem>Porta ac consectetur ac</ListGroupItem>
<ListGroupItem disabled>Vestibulum at eros</ListGroupItem>
</ListGroup>
);
Properties
Properties which can be added to the component to change the visual appearance.
flush
only on ListGroup Type: booleanprimary
only on ListGroupItem Type: booleansecondary
only on ListGroupItem Type: booleansuccess
only on ListGroupItem Type: booleandanger
only on ListGroupItem Type: booleanwarning
only on ListGroupItem Type: booleaninfo
only on ListGroupItem Type: booleanlight
only on ListGroupItem Type: booleandark
only on ListGroupItem Type: booleanaction
only on ListGroupItem Type: booleanactive
only on ListGroupItem Type: booleandisabled
only on ListGroupItem Type: boolean