1.2.1 • Published 3 years ago

cascade-shareui v1.2.1

Weekly downloads
5
License
MIT
Repository
-
Last release
3 years ago

行政区划 pc 端组件

安装

yarn add cascade-shareui

使用

import React from 'react';
import { useDivision } from 'cascade-hooks';
import { Division } from 'cascade-shareui';

const Demo = () => {
    const [value, setValue] = useState();
    const { division } = useDivision();
    return (
        <div>
            <Division division={division} value={} onChange={} />
        </div>
    )
};