import tinycolor from 'tinycolor2'; import type { ComponentType } from '../../../../jsx'; import { Defs, Ellipse, Group } from '../../../../jsx'; import { DropShadow } from '../../../defs'; import { registerDivider, type DividerProps } from './types'; export const VSDivider: ComponentType = (props) => { const { x, y, colorPrimary, colorBg } = props; // 设计时确定的固有尺寸 const width = 100; const height = 100; const lightColor = tinycolor(colorPrimary).lighten(20).toString(); return ( VS ); }; registerDivider('vs', VSDivider);