@hbtv/canvas-border
v1.1.3
Published
Canvas 边框
Downloads
3
Keywords
Readme
@hbtv/canvas-border
安装方法
npm install @hbtv/canvas-border --save
ChangeLog
1.1.3
- 发布
使用方法
import React from 'react';
import { CanvasBorder1 } from '@hbtv/canvas-border';// 共有12个border样式
const Component = () => {
return (
<div>
<CanvasBorder1 />
</div>
);
};
export default Component;
export interface CanvasBorderProps {
primaryColor?: string; // 主色调
secondaryColor?: string; // 副色调
width?: number; // 宽
height?: number; // 高
reverse?: boolean; // 反向
radius?: number; // 圆角
}