Files
web/packages/design-system/lib/components/Form/Country/country.ts
Bianca Widstam 5f2e215508 Merged in fix/SW-2188-disable-fields-logged-in-user-enter-details (pull request #2595)
fix(SW-2188): disable enter details fields when logged in

* fix(SW-2188): disable enter details fields when logged in


Approved-by: Anton Gunnarsson
2025-08-05 11:54:41 +00:00

22 lines
492 B
TypeScript

import type { RegisterOptions } from 'react-hook-form'
export type CountryProps = {
autoComplete?: string
className?: string
errorMessage?: string
label: string
countries: {
code: string
name: string
displayName?: string
}[]
lang?: string
name?: string
placeholder?: string
disabled?: boolean
registerOptions?: RegisterOptions
}
export type CountryPortalContainer = HTMLDivElement | undefined
export type CountryPortalContainerArgs = HTMLDivElement | null