1.6.0 • Published 2 years ago
mumineen-ui-plugins v1.6.0
Mumineen UI Plugins
Introduction
Mumineen UI Plugins is a react library which features some of the commonly used UI plugins for Dawoodi Bohra Shia Muslims who follow the 53rd Dai al-Mutlaq, His Holiness, Syedna Aale Qadr Mufaddal Saifuddin.
Installation
npm install mumineen-ui-plugins
or
yarn add mumineen-ui-plugins
This package only contains one UI plugin which is the Hijri Calendar but there will be more plugins added in the future.
Hijri Calendar
Usage
import { HijriCalendar } from 'mumineen-ui-plugins';
const App = () => {
return (
<HijriCalendar />
);
}
Props
Name | Type | Default | Description |
---|---|---|---|
miqaats | MiqaatMonth[] | [] | List of miqaats to be displayed on the calendar. |
additionalDayContent | (day: Day) => React.ReactNode | undefined | Callback function to return additional content in the modal for a day. |
onDayClick | (day: Day) => void | undefined | Callback function to be called when a day is clicked. |
showDefaultMiqaatData | boolean | false | Whether to show the default miqaat data (embedded in library). |
License
This software is released under the terms and conditions of The MIT License.
Please see the LICENSE.txt
file for more details.