pieces

时间:2021-03-08 06:54:38
【文件属性】:
文件名称:pieces
文件大小:190KB
文件格式:ZIP
更新时间:2021-03-08 06:54:38
TypeScript @ chessire /件 React棋子组件 通过下载和转换可以自动生成单个。 特征 一致且中性的外观 可定制的尺寸和颜色 与IE11,现代浏览器和Node.js(用于服务器端渲染)兼容。 内置Typescript类型定义 所有SVG属性和ref属性都转发到<svg>元素 演示版 安装及使用 $ npm install @chessire/pieces import { Piece } from "@chessire/pieces" ; // Default import also works export const BlackKnight = ( ) => < Piece xss=removed xss=removed xss=removed> ; 特性 /** Piece color */ color: "white" | "black" ; /**
【文件预览】:
pieces-master
----browserslist(291B)
----rollup.config.js(485B)
----.storybook()
--------preview.js(74B)
--------main.js(169B)
----package.json(3KB)
----babel.config.json(123B)
----.prettierrc(45B)
----chessire-pieces.code-workspace(98B)
----LICENSE(1KB)
----package-lock.json(650KB)
----screenshot.png(10KB)
----src()
--------pieces.tsx(18KB)
--------index.tsx(1KB)
--------Piece.stories.tsx(3KB)
----.eslintrc.js(6KB)
----tsconfig.json(264B)
----.gitignore(73B)
----README.md(3KB)
----ORIGINAL-GRAPHICS-LICENSE(1KB)
----scripts()
--------download-and-generate.ts(7KB)
----lint-staged.config.js(351B)

网友评论