Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
sea-ai-ui-component
Advanced tools
The seatable AI UI component.
git clone git@gitlab.seafile.top:seatable-extends/sea-ai-ui-component.git
cd sea-ai-ui-component
npm install
cd example
npm start
注意:自定义API 的demo,目前不支持修改参数同步更新视图
npm install sea-ai-ui-component
<!-- app.jsx -->
import React from 'react';
import SeatableAI from 'sea-ai-ui-component';
import Layout from 'xxx';
const APP = () => {
return (
<SeatableAI isDevelopment={isDevelopment}> // 加载 assistants
<Layout />
</SeatableAI>
);
}
export default APP;
<!-- layout.jsx -->
import React from 'react';
import { Chat, Assistants, useAssistants } from 'sea-ai-ui-component';
const Layout = () => {
const { usingAssistant } = useAssistants();
if (usingAssistant) {
return (<Chat usingAssistant={usingAssistant} />);
}
return (
<Assistants readonly /> // readonly: 只读下不展示添加按钮
);
};
依据业务逻辑新编写组件
FAQs
> The seatable AI UI component.
The npm package sea-ai-ui-component receives a total of 1,091 weekly downloads. As such, sea-ai-ui-component popularity was classified as popular.
We found that sea-ai-ui-component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.