Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const MadhabSelect = ({ onChange, value }) => (
<select id="prayerMethod" value="{value}">
{
Object.keys(adhan.Madhab).map(method => (
<option value="{method}">{method}</option>
))
}
</select>
);