1

Can somebody help with a jscodeshift to convert all the named imports to default import for MUI V5 (React + Typescript) Current code

import { Button, TextField } from '@mui/material';

Expected output

import Button from '@mui/material/Button';
import TextField from '@mui/material/TextField';

0 Answers0