0.0.12 • Published 6 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.
flushonly on ListGroup Type: booleanprimaryonly on ListGroupItem Type: booleansecondaryonly on ListGroupItem Type: booleansuccessonly on ListGroupItem Type: booleandangeronly on ListGroupItem Type: booleanwarningonly on ListGroupItem Type: booleaninfoonly on ListGroupItem Type: booleanlightonly on ListGroupItem Type: booleandarkonly on ListGroupItem Type: booleanactiononly on ListGroupItem Type: booleanactiveonly on ListGroupItem Type: booleandisabledonly on ListGroupItem Type: boolean