stream-chat-react
Version:
React components to create chat conversations or livestream style chat
18 lines • 513 B
TypeScript
export declare const useSplitActionSet: <T extends {
placement: "quick";
} | {
placement: "dropdown";
} | {
placement: "quick-dropdown-toggle";
}>(actionSet: T[]) => {
readonly dropdownActionSet: Extract<T, {
placement: "dropdown";
}>[];
readonly quickActionSet: Extract<T, {
placement: "quick";
}>[];
readonly quickDropdownToggleAction: Extract<T, {
placement: "quick-dropdown-toggle";
}> | undefined;
};
//# sourceMappingURL=useSplitActionSet.d.ts.map