0.2.6 • Published 5 months ago

mik-datepicker v0.2.6

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

mik-datepicker

Datepicker is a simple and reusable date picker component for React.

datepicker

main features

  • Select days, year, month, d-day
  • Localizable into en-US
  • using date-fns as date library
  • Runtime type checking with PropTypes

installation

npm install mik-datepicker

Usage

import React, { useState } from "react";
import { DatePicker } from "mik-datepicker";

function Example() {
  const [startDate, setStartDate] = useState(new Date());

  return (
    <div>
      <DatePicker
        selected={startDate}
        onChange={(date) => setStartDate(date)}
      />
    </div>
  );
}
0.2.1

5 months ago

0.2.0

5 months ago

0.1.8

5 months ago

0.2.6

5 months ago

0.1.7

5 months ago

0.2.3

5 months ago

0.2.2

5 months ago

0.2.5

5 months ago

0.1.6

5 months ago

0.2.4

5 months ago

0.1.5

6 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago