persian-calender v1.0.18
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 شما یکپارچه میشود و ویژگیهایی مانند ناوبری ماه/سال، انتخاب تاریخ و پشتیبانی از حالت شب را فراهم میآورد.
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
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
4 years ago