Files
web/packages/design-system/lib/components/Form/Phone/phone.ts
Hrishikesh Vaipurkar 42ab6e58b3 Merged in chore/SW-3145-move-phone (pull request #2549)
chore/SW-3145 Moved Phone to design system

* chore/SW-3145 Moved Phone to design system

* chore: SW-3145 Moved phone and removed intl direct dependency


Approved-by: Anton Gunnarsson
2025-07-28 08:28:07 +00:00

22 lines
469 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
readOnly?: boolean
registerOptions?: RegisterOptions
}