Files
web/apps/scandic-web/components/TempDesignSystem/Form/Select/select.ts
Christian Andolf 73884aa428 fix: restore old select selectors for label to still support the temp design select
deprecated the temp design select in favor of the new one
2025-06-13 13:07:38 +02:00

13 lines
418 B
TypeScript

import type { RegisterOptions } from "react-hook-form"
import type { SelectProps as ReactAriaSelectProps } from "@/components/TempDesignSystem/DeprecatedSelect/select"
export interface SelectProps
extends Omit<
React.SelectHTMLAttributes<HTMLSelectElement>,
"name" | "onSelect" | "placeholder"
>,
Omit<ReactAriaSelectProps, "onSelect" | "ref" | "value"> {
registerOptions?: RegisterOptions
}