docs/src/modules/utils/generateMarkdown.ts/generateName
function generateName(reactAPI: ReactApi) {
  if (
    reactAPI.styles.classes.length &&
    !reactAPI.styles.name &&
    reactAPI.name.indexOf('Unstyled') === -1
  ) {
    throw new Error(`Missing styles name on ${reactAPI.name} component`);
  }

  if (!reactAPI.styles.name) {
    return '\n';
  }

  return `## Component name

The \`${reactAPI.styles.name}\` name can be used for providing [default props](/customization/globals/#default-props) or [style overrides](/customization/globals/#css) at the theme level.
`;
}