Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.