Files
web/packages/design-system/lib/components/Form/Phone/phone.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

21 lines
448 B
TypeScript

import type { RegisterOptions } from 'react-hook-form'
export interface PhoneProps {
ariaLabel?: string
className?: string
countryLabel?: string
countrySelectorName?: string
countriesWithTranslatedName: {
code: string
displayName?: string
name: string
}[]
disabled?: boolean
errorMessage?: string
label: string
defaultCountryCode: string
name?: string
placeholder?: string
registerOptions?: RegisterOptions
}