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
This commit is contained in:
Hrishikesh Vaipurkar
2025-07-28 08:28:07 +00:00
parent 58af469e22
commit 42ab6e58b3
12 changed files with 130 additions and 81 deletions

View File

@@ -0,0 +1,21 @@
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
}