How to use the adhan.Madhab function in adhan

To help you get started, we’ve selected a few adhan examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github quran / beautifulprayer / src / MadhabSelect / index.js View on Github external
const MadhabSelect = ({ onChange, value }) => (
  <select id="prayerMethod" value="{value}">
    {
      Object.keys(adhan.Madhab).map(method =&gt; (
        <option value="{method}">{method}</option>
      ))
    }
  </select>
);

adhan

High precision Islamic prayer time library

MIT
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis