createPicker
Creates an empji picker.
import { createPicker } from 'picmo';
createPicker(options: PickerOptions): EmojiPicker
Creates an emoji picker that is displayed inline on a page.
After it is created, the picker will be automatically inserted into the root element specified in the PickerOptions
object.
Arguments
options
: Configuration options for the picker to be created.- Type:
PickerOptions
- Type:
Return value
The EmojiPicker
instance that was created.