fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
21 lines
462 B
TypeScript
21 lines
462 B
TypeScript
import { Lang } from "@scandic-hotels/common/constants/language"
|
|
import type { RegisterOptions } from "react-hook-form"
|
|
|
|
export const enum DateName {
|
|
date = "date",
|
|
day = "day",
|
|
month = "month",
|
|
year = "year",
|
|
}
|
|
export interface DateProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
labels: {
|
|
day: string
|
|
month: string
|
|
year: string
|
|
errorMessage?: string
|
|
}
|
|
lang: Lang
|
|
name: string
|
|
registerOptions?: RegisterOptions
|
|
}
|