在 React 元素之间绘制箭头
在 React 中在 DOM 元素之间绘制箭头 文档和实时示例 →
npm install React-archer --save 或 yarn add React-archer
import { ArcherContainer, ArcherElement } from 'react-archer';
const boxStyle = { padding: '10px', border: '1px solid black' };
const App = () => (
{/* ...layout omitted... */}
);
export default App;完整的文档位于网站上:
库位于 src/ 中。example/ 应用是用于测试 Vite 的一个演示应用。
本地开发和端到端测试:
yarn install
yarn start # run the example app at http://localhost:8080
yarn test # format, lint, typecheck and unit tests
yarn test:e2e # Cypress end-to-end testsPR 标题必须遵循 常规提交 (例如 feat: ...,fix: ...,chore: ...,docs: ...)。PR 使用其标题进行合并,因此该标题将成为 master 上的提交,并为更改日志提供内容。CI 检查会验证 PR 标题。
暂无开放 Issues,或尚未同步最近议题。