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:
21
packages/design-system/lib/components/Form/Phone/phone.ts
Normal file
21
packages/design-system/lib/components/Form/Phone/phone.ts
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user