1.0.6 • Published 12 months ago

@jswork/antd-form-toolkits v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

antd-form-toolkits

Form tookits for antd.

version license size download

installation

npm install -S @jswork/antd-form-toolkits

usage

  1. import css

    @import "~@jswork/antd-form-toolkits/dist/style.css";
    
    // or use sass
    @import "~@jswork/antd-form-toolkits/dist/style.scss";
    
    // customize your styles:
    $antd-form-toolkits-options: ()
  2. import js

    import React from 'react';
    import AntdFormToolkits from '@jswork/antd-form-toolkits';
    import styled from 'styled-components';
    
    const Container = styled.div`
      width: 80%;
      margin: 30px auto 0;
    `;
    
    export default (props: any) => {
      return (
        <Container>
          <AntdFormToolkits />
        </Container>
      );
    };

preview

license

Code released under the MIT license.