extractDefaultExportName
Extracts the category name from the given file path.
Presentation
function extractDefaultExportName (tree: Tree, filePath: string): string | null;
Returns
string | null
-{string | null} The category name.
Parameters
Name | Type | Description |
---|---|---|
tree | Tree | |
filePath | string |