import * as select from '@remix-run/ui/select' import * as popover from '@remix-run/ui/popover' import { css } from 'remix/component' import type { Handle } from 'remix/component' export default function ExampleSelect(handle: Handle) { return () => (
{options.map((option) => (
{option.label}
))}

Delivery cannot be changed after dispatch.

) } function SelectedLabel(handle: Handle) { let context = handle.context.get(select.Context) return () => {context.displayedLabel} } function ChevronDownIcon() { return () => ( ) } const options = [ { label: 'Standard delivery', value: 'standard' }, { label: 'Express delivery', value: 'express' }, { label: 'Collect in store', value: 'collect' }, ]