1.6.0 • Published 2 years ago

mumineen-ui-plugins v1.6.0

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

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

NameTypeDefaultDescription
miqaatsMiqaatMonth[][]List of miqaats to be displayed on the calendar.
additionalDayContent(day: Day) => React.ReactNodeundefinedCallback function to return additional content in the modal for a day.
onDayClick(day: Day) => voidundefinedCallback function to be called when a day is clicked.
showDefaultMiqaatDatabooleanfalseWhether 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.

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago