import type { Key } from "react-aria-components"

export const enum DateName {
  date = "date",
  month = "month",
  year = "year",
}

export interface SelectProps
  extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "onSelect"> {
  items: number[]
  label: string
  name: DateName
  onSelect: (key: Key, name: DateName) => void
  placeholder?: string
}
