import React, { useState } from 'react'; import { Container, Form, FormControl, FormGroup, InputGroup, Input, Icon, } from 'rsuite'; import TimezonePicker from '../components/General/TimezonePicker'; import DaySelector from '../components/Schedule/DaySelector'; import { durations } from '../assets/data/durations'; export default function Schedule() { const [durationIdx, setDurationIdx] = useState(0); const handleIncrement = () => { if (durationIdx <= durations.length - 2) { setDurationIdx(durationIdx + 1); } }; const handleDecrement = () => { if (durationIdx > 0) { setDurationIdx(durationIdx - 1); } }; return (

Schedule a meeting

{durations[durationIdx].label}
); }