docs/src/modules/utils/generateMarkdown.ts/generateImportStatement
function generateImportStatement(reactAPI: ReactApi): string {
  const source = normalizePath(reactAPI.filename)
    // determine the published package name
    .replace(
      /\/packages\/material-ui(-(.+?))?\/src/,
      (match, dash, pkg) => `@material-ui/${pkg || 'core'}`,
    )
    // convert things like `/Table/Table.js` to ``
    .replace(/\/([^/]+)\/\1\.(js|tsx)$/, '');
  return `## Import

\`\`\`js
import ${reactAPI.name} from '${source}/${reactAPI.name}';
// or
import { ${reactAPI.name} } from '${source}';
\`\`\`

You can learn more about the difference by [reading this guide](/guides/minimizing-bundle-size/).`;
}