Files
timelapse-calc/src/components/CalculatorMode.jsx
Tien Ngo 97e902ec50
Some checks failed
Deploy to Private Server / deploy (push) Failing after 2s
first commit
2025-12-24 11:49:29 +07:00

24 lines
759 B
JavaScript

import { Select } from 'antd';
export default function CalculatorMode({ value, onChange }) {
return (
<div className="form-row">
<label htmlFor="calculator-mode" className="form-label">
Calculate
</label>
<Select
id="calculator-mode"
value={value}
onChange={onChange}
size="large"
style={{ width: '100%' }}
options={[
{ value: 'shooting-interval', label: 'Shooting interval' },
{ value: 'clip-length', label: 'Clip length' },
{ value: 'event-duration', label: 'Event duration' },
]}
/>
</div>
);
}