@welcome-ui/emoji-picker
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
18 lines (17 loc) • 417 B
TypeScript
import React from 'react';
export interface Emoji {
alias: string;
category: string;
name: string;
url?: string;
}
export interface ListOptions {
emojis: Emoji[];
emptyList: React.ReactNode;
inputSearchPlaceholder: string;
isOpen: boolean;
onChange: (value: string) => void;
value: string;
}
export type ListProps = ListOptions;
export declare const List: React.FC<ListProps>;