diff --git a/readme.md b/readme.md index 5e49b16..ac65d66 100644 --- a/readme.md +++ b/readme.md @@ -380,14 +380,14 @@ function CustomRoot({ children, classNames, isActive, isDisabled, isInvalid, ... #### renderTagList (optional) -A custom tag list component to render. Receives the list object, required tag list element attributes, and [`classNames`](#classNames-optional) as props. Defaults to `null`. +A custom selected tag list component to render. Receives the selected tags as children, required tag list element attributes, and [`classNames`](#classNames-optional) as props. Defaults to `null`. ```jsx -function CustomTagList({ children, label, classNames, listRef }) { +function CustomTagList({ children, classNames, ...tagListprops }) { return ( -