1.0.1 • Published 2 years ago

react-native-jalali-date v1.0.1

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

react-native-jalali-date

Jalali date picker for React Native both platform (Android and iOS)

Installation

npm install react-native-jalali-date @react-native-picker/picker
yarn add react-native-jalali-date @react-native-picker/picker

Usage

Usage example

import Picker from 'react-native-jalali-date';

const [selectedDate, setSelectedDate] = useState({
  year: 1372,
  month: 3,
  day: 12,
});

<Picker
  minDate={{
    year: 1369,
    month: 8,
    day: 29,
  }}
  initDate={selectedDate}
  maxDate="TODAY"
  onChange={(result) => {
    console.log(result);
    setSelectedDate(result);
  }}
/>;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

1.0.1

2 years ago

1.0.0

2 years ago

0.3.0

2 years ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago