【文件属性】:
文件名称:react-figma-plugin-ds:对Figma设计系统的组件进行React
文件大小:30KB
文件格式:ZIP
更新时间:2021-03-11 18:15:00
系统开源
React-figma-插件-ds
基于对Figma设计系统的组件进行React,并实现 。
:rocket: 开始使用
请按照以下步骤开始使用React Figma组件:
安装:
# with npm
npm i react-figma-plugin-ds
# with yarn
yarn add react-figma-plugin-ds
用法:
import React from "react" ;
import { Disclosure , Tip , Title , Checkbox , Button } from "react-figma-plugin-ds" ;
import "react-figma-plugin-ds/figma-plugin-ds.css" ;
export default ( props ) => {
return (
< >
<
【文件预览】:
react-figma-plugin-ds-master
----.gitignore(380B)
----.babelrc(61B)
----package.json(3KB)
----src()
--------Title.tsx(1006B)
--------Select.tsx(3KB)
--------Checkbox.tsx(1KB)
--------Tip.tsx(574B)
--------Text.tsx(432B)
--------Icon.tsx(923B)
--------Textarea.tsx(548B)
--------Button.tsx(749B)
--------Input.tsx(1KB)
--------index.ts(458B)
--------Disclosure.tsx(973B)
--------Label.tsx(442B)
----webpack.config.js(1KB)
----LICENSE(1KB)
----tsconfig.json(456B)
----examples()
--------src()
----README.md(2KB)
----.npmignore(106B)
----index.d.ts(5KB)