Skip to content

Commit

Permalink
Respond to @adidahiya CR
Browse files Browse the repository at this point in the history
  • Loading branch information
cmslewis committed Feb 27, 2019
1 parent 015e06f commit 6ecdfa0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/select/src/common/listItemsProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ export interface IListItemsProps<T> extends IProps {
*
* If the "Create Item" option is displayed and currently active, then
* `isCreateNewItem` will be `true` and `activeItem` will be `null`. In this
* case, you should provide a valid "Create Item" object to the `activeItem`
* _prop_ in order for the "Create Item" option to appear as active.
* case, you should provide a valid `ICreateNewItem` object to the
* `activeItem` _prop_ in order for the "Create Item" option to appear as
* active.
*
* __Note:__ You can instantiate a "Create Item" object using the
* __Note:__ You can instantiate a `ICreateNewItem` object using the
* `getCreateNewItem()` utility exported from this package.
*/
onActiveItemChange?: (activeItem: T | null, isCreateNewItem: boolean) => void;
Expand Down

0 comments on commit 6ecdfa0

Please sign in to comment.