Skip to content

Commit

Permalink
pass props
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Feb 15, 2024
1 parent 7a671bd commit 0944e27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ export default async function generateComponentApi(
reactApi,
projectSettings.sortingStrategies,
generateJsonFileOnly,
componentInfo.layoutConfigPath,
);

if (
Expand Down
4 changes: 4 additions & 0 deletions packages/api-docs-builder/buildApiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ export type ComponentInfo = {
};
getDemos: () => Array<{ demoPageTitle: string; demoPathname: string }>;
apiPagesDirectory: string;
/**
* The path to import specific layout config of the page if needed.
*/
layoutConfigPath?: string;
skipApiGeneration?: boolean;
/**
* If `true`, the component's name match one of the MUI System components.
Expand Down

0 comments on commit 0944e27

Please sign in to comment.