mumineen-ui-plugins
v1.8.0
Published
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] (_TUS_).
Downloads
206
Readme
Mumineen UI Plugins
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 (TUS).
Installation
npm install mumineen-ui-pluginsor
yarn add mumineen-ui-pluginsThis 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.
