Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 649 Bytes


See the demo component here


Below, an example of using the List component:

import { List } from 'mdwrapper';

const Demo = () => (
  <List data={[
      leadingIcon: 'folder'
      title: 'First',
      subTitle: 'Sub First'
      title: 'Second',
      subTitle: 'Sub Second',
      trailingIcon: 'info'
  ]} onClick={item => console.log(item)} />


List of all properties for the List component:

Prop Type Default Description
data array [] Data
onClick function void Click Trigger
You can’t perform that action at this time.