Skip to content

Allow building pickers without EmojiPicker.Search #11

@marcbouchenoire

Description

@marcbouchenoire

In some cases, like autocomplete pickers, search can be driven externally, making EmojiPicker.Search unnecessary.

One option is to expose the inner store's search value (and its onSearchChange handler) but I'm not a huge fan of this, and since the store is only available within EmojiPicker.Root, it could force flowing external values within just to apply them.

Proposed API

A search prop is added to EmojiPicker.Root which acts as a controlled search value, just like value on EmojiPicker.Search.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions