Closed ellunium closed 4 months ago
Totals | |
---|---|
Change from base Build 7907714774: | 0.09% |
Covered Lines: | 1509 |
Relevant Lines: | 1624 |
Thanks for your contribution @ellunium and for the nice example too. I should be able to review and test this week 👍
Thanks for your contribution - I'm going to merge this but make a few changes before releasing. I intend to refactor all of the list props into the
useTagList
hook so that it is consistent with the other custom renderers and implementors can create a custom list and spread the props rather than declaring each attribute individually:<div className={classNames.tagList} {...tagListProps}> {children.map((child) => ( <div className={classNames.tagListItem} key={child.key}> {child} </div> ))} </div>
Makes perfect sense!
Added the renderTagList prop with test, examples and description to readme.
@i-like-robots Like I said, it's not much , but could you please review? I think the TagList component needs optimising, maybe needs props? Let me know hat you think. Thanks!