Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (24 sloc) 794 Bytes

ChipSet

See the demo component here

Usage

Below, an example of using ChipSet and Chip components:

import { ChipSet, Chip } from 'mdwrapper';

const Demo = () => (
  <ChipSet choice>
    <Chip icon={'person'}>Male</Chip>
    <Chip icon={'person'}>Female</Chip>
);

Props

List of all properties for the ChipSet component:

Prop Type Default Description
children object - Node Content
choice boolean false Choice Style

List of all properties for the Chip component:

Prop Type Default Description
children object - Node Content
icon string - Material Design Icon
onClick function - Click Trigger
You can’t perform that action at this time.