Complete the code to import the default export from the module.
import [1] from './module';
To import the default export, use import myDefault from './module';.
Complete the code to import a named export called 'myFunc' from the module.
import [1] from './module';
Named exports must be imported using curly braces: import { myFunc } from './module';.
Fix the error in the import statement to import all exports as an object named 'utils'.
import [1] from './utils';
To import all exports as an object, use import * as utils from './utils';.
Fill both blanks to import the default export as 'main' and a named export 'helper' from the module.
import [1], [2] from './module';
To import default and named exports together: import main, { helper } from './module';.
Fill all three blanks to import the default export as 'App', named exports 'useState' and 'useEffect' from 'react'.
import [1], [2] from 'react'; // Use hooks like [3]() inside your component
Correct import syntax: import App, { useState, useEffect } from 'react'; and then use useState() in code.