Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ze-react-component-library

Package Overview
Dependencies
Maintainers
1
Versions
791
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ze-react-component-library

ZeroETP React Component Library

  • 1.2.129
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

ZE React Component Library

一系列直接通过 Logicform 进行数据展示、数据交互的库

Usage

yarn add ze-react-component-library

Peer Dependencies

{
  "@ant-design/icons": ">=4.3.0",
  "@ant-design/pro-table": ">=2.38.0",
  "@ant-design/pro-provider": ">=1.4.0",
  "antd": ">=4.15.0",
  "moment": "^>=2.28.0",
  "numeral": ">=2.0.0",
  "react": ">=16.8.0",
  "react-dom": ">=16.8.0",
  "zeroetp-api-sdk": ">=1.1.8"
}

查看每个插件的样子

yarn install
yarn run storybook

Token 过期的问题解决方案

在各*.storeis.tsx 文件里面,有一个写着localStorage.token的地方,改为最新的 token

组件

  • ZETable: 一个表格形式的展现
  • ZESchemaForm: 一个上传形式的展现

ZETable

import { ZETable } from "ze-react-component-library";

// 下面参数除了logicform都是可选
<ZETable
  logicform={logicform}
  preds={[]} /* 显示哪些字段 */
  customColumns={{}} /* 自定义的Column属性的Mapkey为字段名称value为ProColumnType */
  options={options} /* ProTable的options */
  scroll={null} /* 用来关闭默认的Scroll形态传给ProTable的 */
  className="xx" /* Style */
/>;

ZESchemaForm

见 ZESchemaForm.stories.tsx 吧。懒。

Keywords

FAQs

Package last updated on 18 Feb 2024

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