UNPKG

@uimkit/uikit-react

Version:

<img style="width:64px" src="https://mgmt.uimkit.chat/media/img/avatar.png"/>

26 lines (23 loc) 819 B
import React__default, { PropsWithChildren } from 'react'; import { PluginsProps } from '../Plugins/index.js'; import { MessageType } from '../../types/models.js'; declare enum PluginsNameEnum { quote = "quote", forward = "forward", copy = "copy", delete = "delete", resend = "resend", revoke = "revoke" } type MessagePluginConfigProps = { [propsName in PluginsNameEnum]?: { isShow?: boolean; relateMessageType?: MessageType[]; }; }; interface MessagePluginsProps extends PluginsProps { config?: MessagePluginConfigProps; } declare function MessagePlugins<T extends MessagePluginsProps>(props: PropsWithChildren<T>): React__default.ReactElement; export { MessagePluginConfigProps, MessagePlugins, MessagePluginsProps }; //# sourceMappingURL=MessagePlugins.d.ts.map