0.2.6 • Published 2 years ago

mik-datepicker v0.2.6

Weekly downloads
-
License
-
Repository
-
Last release
2 years 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

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.2.6

2 years ago

0.1.7

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.1.6

2 years ago

0.2.4

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago