Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add List component #60

Closed
pedronauck opened this issue Jul 6, 2022 · 0 comments · Fixed by #142
Closed

Add List component #60

pedronauck opened this issue Jul 6, 2022 · 0 comments · Fixed by #142
Assignees
Labels
@ds:base Components on Base category @react-components React components related issues

Comments

@pedronauck
Copy link
Contributor

pedronauck commented Jul 6, 2022

  • Render an unordered or ordered list, with default chars or icons

Use case

<>
  <List type="ordered">
    <List.Item>Value #1</List.Item>
    <List.Item>Value #2</List.Item>
  </List>
  <List icon="CheckIcon">
    <List.Item>Value #1</List.Item>
    <List.Item>Value #2</List.Item>
  </List>
</>

Properties

  • type: 'ordered' | 'unordered'
  • icon: Icons
@pedronauck pedronauck added @react-components React components related issues @ds:base Components on Base category labels Jul 6, 2022
@pedronauck pedronauck self-assigned this Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ds:base Components on Base category @react-components React components related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant