UNPKG

react-docgen

Version:

A library to extract information from React components for documentation generation.

6 lines (5 loc) 218 B
import type { NodePath } from '@babel/traverse'; /** * Checks if the path is a ImportSpecifier that imports the given named export */ export default function isImportSpecifier(path: NodePath, name: string): boolean;