-
Notifications
You must be signed in to change notification settings - Fork 97
feat(typography): add List component
#388
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
Conversation
| start: 1 | ||
| }; | ||
|
|
||
| const text = 'garden es bonus vobis proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic beet greens corn soko endive gumbo gourd shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato cucumber earthnut pea peanut soko zucchini.'.split( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nitpick request for the dummy text, is there any way to populate the list items with different text? i’m seeing rivers and it could mess with my perception of spacing. it would be helpful to have each list item have their own text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM besides the small comment
| it('applies default padding', () => { | ||
| const { container } = render( | ||
| <UnorderedList> | ||
| <UnorderedListItem /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this use the static property like a standard consumer?
Description
Adds support for unordered/ordered list component:
Detail
Demo pre-published for review: https://garden.zendesk.com/react-components/typography/#!/List
Checklist
designer as a reviewer)
view component styling is based on a Garden CSScomponent
yarn start)