0.2.2 • Published 2 years ago

@prasiddha/nepali-datepicker v0.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Install

npm install --save @prasiddha/nepali-datepicker

or,

yarn add @prasiddha/nepali-datepicker

Usage

import React, { useState } from 'react';
import { NepaliDatePicker } from '@prasiddha/nepali-datepicker';

const App = () => {
  const [date, setDate] = useState<string>('');

  return (
    <form>
      <label htmlFor="date">Date</label>
      <NepaliDatePicker
        inputClassName="form-control"
        className=""
        value={date}
        onChange={(value: string) => setDate(value)}
        options={{ calenderLocale: 'ne', valueLocale: 'en' }}
      />
    </form>
  );
};

export default App;
0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago