Skip to content

V99DatePicker

A top bar consists of a toolbar and potentially other components.

I. Props

Name Type Default Description
ref UseRef - UseRef of V99DatePicker
fromDate Date - Set selected start date
toDate Date - Set selected end date
onFilter (from: Date, to: Date) => void - Return selected date

II. Usage

import { V99DatePicker } from 'v99-date-picker';

III. V99DatePicker:

Example

          <V99DatePicker
            ref={dateRef}
            fromDate={state.fromDate}
            toDate={state.toDate}
            onFilter={(from: Date, to: Date) => {
              console.log('=>', from, to);
            }}
          />

Demo

Demo