()=>{const[value, setValue]=React.useState(null);return(<divstyle={{width:'20rem'}}><RadioGroupname="ticket-type"label="Velg billettype:"onChange={e=>setValue(e.target.value)}value={value}><divstyle={{display:'grid',gridGap:'0.5rem'}}><RadioPaneltitle="Standard"secondaryLabel="199,-"value="non-flexi"size="large"> Ikke fleksibel</RadioPanel><RadioPaneltitle="Premium"secondaryLabel="299,-"value="flexi"size="large"><div>Fleksibel billett</div>{value ==='flexi'&&(<Labelas="div"> Billetten kan refunderes eller endres ved et senere tidspunkt</Label>)}</RadioPanel></div></RadioGroup></div>);}