import React, { Fragment, useState } from 'react' import { Button, ButtonStatus } from '../../../../button' import { ContentDivider } from '../../../../divider/contentDivider' import { ComfortIcon } from '../../../../icon/comfortIcon' import { LadyIcon } from '../../../../icon/ladyIcon' import { LightningIcon } from '../../../../icon/lightningIcon' import { ItemCheckbox } from '../../../../itemCheckbox' import { ItemInfo } from '../../../../itemInfo' import { BottomContent, Content, MainContent } from '../../../../layout/content' import { LayoutNormalizer } from '../../../../layout/layoutNormalizer' import { BaseSection } from '../../../../layout/section/baseSection' import { Stepper, StepperDisplay } from '../../../../stepper' import { Textarea } from '../../../../textarea' import { TheVoice } from '../../../../theVoice' import { TextTitle } from '../../../../typography/title' // Note: some hard-coded styles will be removed with the following tickets: BBC-7943, BBC-7944 export const EditOptions = () => { const [isComfort, setIsComfort] = useState(false) const [isLadyOnly, setIsLadyOnly] = useState(false) const [isInstantBooking, setIsInstantBooking] = useState(false) const [buttonStatus, setButtonStatus] = useState(ButtonStatus.PRIMARY) const save = () => { setButtonStatus(ButtonStatus.LOADING) setTimeout(() => setButtonStatus(ButtonStatus.CHECKED), 1000) setTimeout(() => setButtonStatus(ButtonStatus.PRIMARY), 3000) } return ( Passengers options
Number of passengers} />
setIsComfort(!isComfort)} leftAddon={} labelTitle="Max. 2 in the back seats" checked={isComfort} name="comfort" /> setIsLadyOnly(!isLadyOnly)} leftAddon={} labelTitle="Ladies only" checked={isLadyOnly} name="ladies" /> setIsInstantBooking(!isInstantBooking)} leftAddon={} labelTitle="Instant booking" checked={isInstantBooking} name="instant" />