1.0.18 • Published 7 months ago

persian-calender v1.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

persian-calender

The Persian Calendar Package is a powerful and easy-to-use React component for displaying and selecting dates based on the Iranian calendar system. This package allows seamless integration of the Persian calendar in your React applications with features like month/year navigation, date selection, and dark mode support. این پکیج تقویم فارسی یک کامپوننت قدرتمند و آسان برای استفاده در React است که به شما این امکان را می‌دهد تا تاریخ‌ها را براساس تقویم ایرانی نمایش داده و انتخاب کنید. این پکیج به‌راحتی در برنامه‌های React شما یکپارچه می‌شود و ویژگی‌هایی مانند ناوبری ماه/سال، انتخاب تاریخ و پشتیبانی از حالت شب را فراهم می‌آورد.

NPM JavaScript Style Guide

Install

npm install --save persian-calender

Usage

import React from 'react';
import  PersianCalendar  from 'persian-calender';
import 'persian-calender/dist/index.css' // add font

const App = () => {
  return (
    <PersianCalendar
      darkMode={boolean} //default false
      responsive={boolean} //default true
      onChange={(date) => console.log(date)} 
      animate={boolean} //default false 
      inputStyle={{ width: '100px', height: '50px' }} //default no style
      />
  );
};

export default App;

License

MIT © Mohammadsd

1.0.2

7 months ago

1.0.18

7 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.0

4 years ago