EDS4 logo
@eds/react/phone-input
v0.0.0

PhoneInput

A phone number input with country dial code selection.
Prop
Required
Description
Type
value
✅

Value of the input.

string
onChange
✅

Callback fired when input value is changed.

(value: string) => void
size
—

Control the size of the input. Defaults to medium.

"small" | "medium"
disabled
—

Disables the input.

boolean
invalid
—

The current validity state of the input.

boolean