16 lines
450 B
TypeScript
16 lines
450 B
TypeScript
import type { Control, RegisterOptions } from "react-hook-form"
|
|
|
|
import type { EditProfileSchema } from "@/components/MyProfile/Profile/Edit/Form/schema"
|
|
|
|
export const enum DateName {
|
|
date = "date",
|
|
month = "month",
|
|
year = "year",
|
|
}
|
|
export interface DateProps
|
|
extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
control: Control<EditProfileSchema>
|
|
name: keyof EditProfileSchema
|
|
registerOptions: RegisterOptions<EditProfileSchema>
|
|
}
|