New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-tangram

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tangram

Use ts and React Hooks to build component library

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

React-tangram Component Library

使用 React+Typescript 构建基础组件库

react-tangram 使用 React Hooks 和 Typescript

安装

npm install react-tangram --save
or
yarn add react-tangram

使用

// 加载样式
import 'react-tangram/dist/index.css';
// 引入组件
import { Button } from 'react-tangram';

课程亮点

  • 🔥Typescript with React Hooks
  • ⛑️ 使用 react-testing-library 完成单元测试
  • 📚 使用 storybook 本地调试和生成文档页面
  • 📚 使用 react-doc-gen 自动生成文档
  • 📦 使用第三方库扩充组件-(react-fontawesome, react-transition-group)
  • 🌹 样式使用(Sass)

一些本地开发命

//启动本地环境
npm run stroybook

//跑单元测试
npm test

//build可发布静态文件
npm run build

Keywords

FAQs

Package last updated on 20 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc