@zener/nepali-datepicker-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Nepali Datepicker React

Nepali Datepicker React is a lightweight, highly customizable, and feature-rich datepicker component, specifically designed for handling Nepali dates in React.js applications. It offers seamless integration, intuitive user experience, and extensive configuration options.

Minimal Example

Table of Content

Installation

You can install the Nepali Datepicker React component via npm:

npm i @zener/nepali-datepicker-react

Usage

Basic Implementation

import NepaliDatePicker from '@zener/nepali-datepicker-react';
import '@zener/nepali-datepicker-react/index.css';

const App = () => {
  const [value, setValue] = useState()
  return (
    <NepaliDatePicker
      value={value}
      onChange={(e) => {
        setValue(e);
      }}
      placeholder="Select date"
    />
  );
};

Package Sidebar

Install

npm i @zener/nepali-datepicker-react

Weekly Downloads

125

Version

1.0.1

License

MIT

Unpacked Size

79.4 kB

Total Files

15

Last publish

Collaborators

  • bikashoza