antdx-pro
v0.0.3
Published
by @antd/x ai assistant or copilot
Readme
antdx-pro
基于 antdx 封装的 UI 库
Usage
pnpm add antdx-proimport React from 'react';
import { Copilot } from 'antdx-pro';
export default () => <Copilot />;Options
interface ICopilotProps {
/** 欢迎 **/
welcomeProps?: WelcomeProps;
/** 聊天 **/
bubbleListProps?: BubbleListProps;
/** 建议 **/
promptsProps?: PromptsProps;
/** 输入 **/
expressProps?: {
attachmentsProps?: AttachmentsProps;
senderProps?: SenderProps;
suggestionProps?: SuggestionProps;
};
}Development
# install dependencies
$ pnpm install
# develop library by docs demo
$ pnpm start
# build library source code
$ pnpm run build
# build library source code in watch mode
$ pnpm run build:watch
# build docs
$ pnpm run docs:build
# Locally preview the production build.
$ pnpm run docs:preview
# check your project for potential problems
$ pnpm run doctorLICENSE
MIT
