Nomad Packaging Mechanism

    @kaluza/react-datepicker

    1.0.2 • Public • Published

    React DatePicker

    Datepicker component loosely based around Material UI design.

    Demo

    Todo...

    Usage

    import Calendar from '@kaluza/react-datepicker';
    
    const Page = (props) => (
      <div className="my-page">
        <Calendar />
      </div>
    );

    Props

    maxDate  PropTypes.string (ISO Formatted Date)
    Default: Today
    
     
    
    minDate  PropTypes.string (ISO Formatted Date)
    Default: 0000-01-01
    
     
    
    mode     PropTypes.oneOf(['DAY', 'MULTIDAY', 'MONTH', 'YEAR'])
    Default: DAY
    
     
    
    multidayNumberOfSelectedDays   PropTypes.number
    Default: 1
    
     
    
    onCancel  PropTypes.func
    Default: () => {}
    
     
    
    onSelect PropTypes.func
    Default: () => {}
    
     
    
    selectedDate PropTypes.string (ISO Formatted Date)
    Default: Today

    Install

    npm i @kaluza/react-datepicker

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    54.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • vox-populi
    • freddybushboy
    • kenneth-gray