0.1.5 • Published 10 months ago

jalali-wheel-datepicker v0.1.5

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

jalali-wheel-datepicker

react jalali wheel date picker in ios style

Preview

you can check out the preview on this link : https://6677fd997ffbc47279e235b6--dashing-tarsier-9341d2.netlify.app/

Prerequisites

This project requires NodeJS (version 12 or later) and NPM. Node and NPM are really easy to install.

$ npm -v && node -v
6.4.1
v8.16.0

Table of contents

Installation

BEFORE YOU INSTALL: please read the prerequisites

To install and set up the library, run:

$ npm i jalali-wheel-datepicker

Or if you prefer using Yarn:

$ yarn add --dev jalali-wheel-datepicker

Usage

import { DatePciker } from "jalali-wheel-datepicker";
const App: React.Fc = () => {
  return (
    <div>
      <DatePciker />
    </div>
  );
};

export default App;

Props

propstypeDescription
headerStringthe header title
---------------------------------------
previewStringthe DatePicker preview
---------------------------------------
previewClassNamestringthe DatePicker preview className
---------------------------------------
inputClassNamestringthe input className
---------------------------------------
buttonTextstringbutton modal Value
---------------------------------------
inputSuffixstringthe input suffix
---------------------------------------
inputPrefixstringthe input prefix
---------------------------------------
selectedDatestringselected Date
---------------------------------------
changeDate(date : string) => voidselected Date function
---------------------------------------
modalWidthstringmodal width
---------------------------------------
previewStylesReact.CSSPropertiespreview styles
---------------------------------------
initialDaynumberset initial Day for day wheel
---------------------------------------
initialMonthnumberset initial Month for Month wheel
---------------------------------------
initialYearnumberset initial Year for Year wheel

Contributing

for contributing please contact me in telegram : https://t.me/hashemianm

Authors

0.1.5

10 months ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago