stream-chat-react
Version:
React components to create chat conversations or livestream style chat
12 lines (11 loc) • 554 B
TypeScript
import React from 'react';
export type SearchProps = {
directMessagingChannelType?: string;
/** Sets the input element into disabled state */
disabled?: boolean;
/** Clear search state / results on every click outside the search input, defaults to false */
exitSearchOnInputBlur?: boolean;
/** Custom placeholder text to be displayed in the search input */
placeholder?: string;
};
export declare const Search: ({ directMessagingChannelType, disabled, exitSearchOnInputBlur, placeholder, }: SearchProps) => React.JSX.Element;