How to use the react-docgen-typescript.getDefaultExportForFile function in react-docgen-typescript

To help you get started, we’ve selected a few react-docgen-typescript examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github exivity / ui / styleguide.config.js View on Github external
componentNameResolver: (exp, source) => {
    return exp.getName() === 'StyledComponentClass' && getDefaultExportForFile(source)
  }
}
github tamiadev / tamia / styleguide.config.js View on Github external
componentNameResolver: (exp, source) =>
				exp.getName() === 'StyledComponentClass' &&
				require('react-docgen-typescript').getDefaultExportForFile(source),
		}
github sapegin / stack-styled / styleguide.config.js View on Github external
componentNameResolver: (exp, source) =>
				exp.getName() === 'StyledComponentClass' &&
				docgenTypeScript.getDefaultExportForFile(source),
		}
github dfee / rbx / styleguide.config.js View on Github external
componentNameResolver: (exp, source) => {
        return require("react-docgen-typescript").getDefaultExportForFile(
          source
        );
      }
    }

react-docgen-typescript

[![Build Status](https://github.com/styleguidist/react-docgen-typescript/actions/workflows/nodejs.yml/badge.svg)](https://github.com/styleguidist/react-docgen-typescript/actions/workflows/nodejs.yml)

MIT
Latest version published 2 years ago

Package Health Score

70 / 100
Full package analysis

Similar packages