7.1.1 • Published 8 months ago

@tabula/ui-date-picker v7.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

@tabula/ui-date-picker

Allows to pick a date, time or date and time together.

Installation

Use the package manager pnpm to install @tabula/ui-date-picker.

pnpm add @tabula/ui-date-picker

You can use npm or yarn too.

Usage

We provide three types of picker:

  • date - only date picker is shown;
  • time - only time picker is shown;
  • datetime - both date and time picker are shown.

Import component and render it with required type:

import { FC, MouseEventHandler, PropsWithChildren } from 'react';

import { UiDatePicker } from '@tabula/ui-date-picker';

const Picker = () => {
  const [selected, setSelected] = useState<Date | null>(null);

  return <UiDatePicker onSelect={setSelected} selected={selected} type="date" />;
};

License

This project is ISC licensed.

7.1.1

8 months ago

7.1.0

8 months ago

7.1.0-next.0

8 months ago

7.0.3

8 months ago

7.0.2

8 months ago

5.0.0

11 months ago

6.0.1

10 months ago

6.0.0

11 months ago

7.0.0

9 months ago

7.0.1

9 months ago

5.0.0-next.0

11 months ago

4.0.1

12 months ago

4.0.0

1 year ago

7.0.0-next.1

9 months ago

4.0.3

11 months ago

4.0.2

12 months ago

7.0.0-next.0

9 months ago

3.0.3

1 year ago

3.0.3-beta.0

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago