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

formsy-antd

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formsy-antd

A formsy-react compatibility wrapper for antd form components.

  • 0.3.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

formsy-antd

这个组件库是对 ant-design form 组件的 formsy-react 包装.

Installation

To add formsy-antd to you package.json and install it, run:

$ npm install --save formsy-antd

You will also need to add formsy-react if not already installed:

$ npm install --save formsy-react

Usage

ES6 Imports

import Input from 'formsy-antd/lib/input'; // 按需加载

OR:

import { Input, FormItem, Form } from 'formsy-antd';

注意:需要引入antd样式(或使用babel-plugin-antd插件):

import 'antd/dist/antd.css'

参考:http://ant.design/docs/react/introduce

Todos

  1. 单元测试
  2. 支持更多的表单控件

Examples

Known Issues

Keywords

FAQs

Package last updated on 22 Sep 2016

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