alexplumb/material-ui-phone-number

Not working properly

Closed this issue · 2 comments

When i tried using it ,

<MuiPhoneNumber
                defaultCountry={"in"}
                onChange={handleOnChange}
                required
                id="phone"
                name="phone"
                value={value}
                
              />

It was not having borders around it as shown in the official readme of material-ui-phone-number.
It was showing like this.
Phone (2)
Is there any way to add border to it?

You can add Material-UI props to it, for example:

<MuiPhoneNumber
    defaultCountry={"in"}
    onChange={handleOnChange}
    required
    id="phone"
    name="phone"
    value={value}
    fullWidth
    size="small"
    variant="outlined"
/>

Thanks for this👍