Skip to content

Commit

Permalink
docs: fix formatting issue in mui jsx example
Browse files Browse the repository at this point in the history
  • Loading branch information
ybrusentsov committed Nov 3, 2023
1 parent a0ca183 commit be00055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/04-Advanced Usage/02-useWithUiLibs.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import {
} from 'react-international-phone';

export const MuiPhone = ({ value, onChange, ...restProps }) => {
const { phone, handlePhoneValueChange, inputRef, country, setCountry } =
const { inputValue, handlePhoneValueChange, inputRef, country, setCountry } =
usePhoneInput({
defaultCountry: 'us',
value,
Expand All @@ -60,7 +60,7 @@ export const MuiPhone = ({ value, onChange, ...restProps }) => {
label="Phone number"
color="primary"
placeholder="Phone number"
value={phone}
value={inputValue}
onChange={handlePhoneValueChange}
type="tel"
inputRef={inputRef}
Expand Down

2 comments on commit be00055

@vercel
Copy link

@vercel vercel bot commented on be00055 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on be00055 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.