@jswork/antd-components
v1.0.77
Published
Antd wrapped components.
Downloads
157
Readme
antd-components
Antd wrapped components.
installation
npm install -S @jswork/antd-components
usage
- import css
@import "~@jswork/antd-components/dist/style.css";
// or use sass
@import "~@jswork/antd-components/dist/style.scss";
// customize your styles:
$antd-components-options: ()
- import js
import React from 'react';
import AntdComponents from '@jswork/antd-components';
import styled from 'styled-components';
const Container = styled.div`
width: 80%;
margin: 30px auto 0;
`;
export default (props: any) => {
return (
<Container>
<AntdComponents />
</Container>
);
};
preview
- https://afeiship.github.io/antd-components/
license
Code released under the MIT license.