initial commit - code moved to separate repo

This commit is contained in:
Dobromir Popov
2024-02-22 04:19:38 +02:00
commit 560d503219
240 changed files with 105125 additions and 0 deletions

17
components/DayOfWeek.js Normal file
View File

@ -0,0 +1,17 @@
import React from 'react'
const common = require('src/helpers/common');
function DayOfWeek({ onChange, selected, disabled }) {
return (
<select className="textbox form-select px-4 py-2 rounded"
id="dayofweek" name="dayofweek" onChange={onChange} value={selected} autoComplete="off" disabled={disabled}>
{common.DaysOfWeekArray.map((day, index) => (
<option key={day} value={day}>
{common.dayOfWeekNames[index]}
</option>
))}
</select>
)
}
export default DayOfWeek