bear-react-datepicker

Datepicker library based for Reactjs

NPM npm

Install

yarn add bear-react-datepicker

Usage

add in your index.tsx

import "bear-react-datepicker/dist/index.css";

then in your page

import {EStatus, toast} from 'bear-react-datepicker';


const BaseUsed = () => {

    return (
        <div>
            <Datepicker onChange={setMyDate} value={myDate}/>
            <Datepicker onChange={setMyDate} value={myDate} locale="zh-CN"/>


        </div>
    );

};

There is also a codesandbox template that you can fork and play with it:

Edit react-editext-template

Component and setup docs

License

MIT © imagine10255

GitHub

View Github