Skip to content

afeiship/react-ant-cascader

Repository files navigation

react-ant-cascader

React ant cascader.

version license size download

installation

npm install -S @jswork/react-ant-cascader

usage

  1. import css
@import "~@jswork/boilerplate-react-component/dist/style.css";

// or use sass
@import "~@jswork/boilerplate-react-component/dist/style.scss";

// customize your styles:
$boilerplate-react-component-options: ()
  1. import js
import React from 'react';
import ReactAntCascader from '@jswork/boilerplate-react-component';
import styled from 'styled-components';

const Container = styled.div`
  width: 80%;
  margin: 30px auto 0;
`;

export default (props: any) => {
  return (
    <Container>
      <ReactAntCascader />
    </Container>
  );
};

preview

license

Code released under the MIT license.