jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
16 lines (15 loc) • 498 B
TypeScript
import React from 'react';
import type { PickClassStyleType } from 'jamis-core';
import type { RenderSlotBodyType } from '../types';
interface SendboxProps extends PickClassStyleType {
initValue: string;
onSend: (query: string) => Promise<boolean>;
disabled?: boolean;
placeholder?: string;
isFetching: boolean;
readOnly?: boolean;
forceStop?: () => void;
renderSlotBody: RenderSlotBodyType;
}
export declare const MessageSendbox: React.FC<SendboxProps>;
export {};