Phrensoua / mui-phone-number

MIT License
3 stars 4 forks source link

mui < v5 is imported instead of mui > v5 #1

Closed AnnoDomine closed 2 years ago

AnnoDomine commented 2 years ago

Inside the index.d.ts (in mui-phone-number) the TextFieldProps are wrong imported for mui > v5

The import is from "@material-ui/core" should be: import { TextFieldProps } from "@mui/material";

Morriz commented 2 years ago

is this released? I see old styling

Phrensoua commented 2 years ago

@Morriz indeed I did a bad publish. sorry about that. I had published 2.2.11 but not fully tested, let me know if you have issues...

Morriz commented 2 years ago

I switched to mui-tel-number instead which looks better