Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
113 stars 7 forks source link

List item #453

Closed Ibabalola closed 1 year ago

Ibabalola commented 1 year ago

As a developer I want to be able use a List item component so that I can easily add a list item

The component should contain relevant classes for shared / reusable styling

The final user will use in this way:

<List type="ordered | unordered" className="list-classname" itemClassName="list-item classname" {...listProps}>
  <ListItem className="list-item-1" value="100" {...listItemProps}>
    List item example
  </ListItem>
  <ListItem className="list-item-2" value="100" {...itemProps}>
    List item example
  </ListItem>
</List>

Tasks:

Please follow the below to create your branch

git checkout release/0.8
git pull
git checkout -b 'feature/list-item'
daniele-zurico commented 1 year ago

closed by https://github.com/Capgemini/dcx-react-library/pull/495