about summary refs log tree commit diff
path: root/src/components/TimePicker/TimePicker.tsx
blob: bec1a24d26ecbd6bb4e23122e0f5abc51ee7399a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { DateRangePicker } from '@adobe/react-spectrum'

export default function TimePicker(props: any) {

	return (
		<>
			<DateRangePicker aria-label="timeframe" value={props.timeframe} onChange={props.setTimeframe} />
		</>
	)
}