Skip to content

Commit a79f025

Browse files
authored
📝 docs(GetStarted): refactor MUI named export (#1029)
Closes: #1028
1 parent c183bae commit a79f025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/content/get-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ React Hook Form has made it easy to integrate with external UI component librari
333333
```typescript copy sandbox="https://codesandbox.io/s/react-hook-form-with-ui-library-ts-forked-qjgkx"
334334
import Select from "react-select"
335335
import { useForm, Controller, SubmitHandler } from "react-hook-form"
336-
import Input from "@material-ui/core/Input"
336+
import { Input } from "@material-ui/core"
337337

338338
interface IFormInput {
339339
firstName: string
@@ -384,7 +384,7 @@ const App = () => {
384384
```javascript copy sandbox="https://codesandbox.io/s/react-hook-form-with-ui-library-forked-fp5r3"
385385
import Select from "react-select"
386386
import { useForm, Controller } from "react-hook-form"
387-
import Input from "@material-ui/core/Input"
387+
import { Input } from "@material-ui/core"
388388

389389
const App = () => {
390390
const { control, handleSubmit } = useForm({

0 commit comments

Comments
 (0)