Skip to content

Commit

Permalink
[docs-infra] Remove randomized API page layout (#11876)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette authored Feb 20, 2024
1 parent a609b12 commit 000a92b
Show file tree
Hide file tree
Showing 14 changed files with 1,497 additions and 159 deletions.
3 changes: 2 additions & 1 deletion docs/pages/x/api/data-grid/data-grid-premium.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import layoutConfig from 'docsx/src/modules/utils/dataGridLayoutConfig';
import jsonPageContent from './data-grid-premium.json';

export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
return <ApiPage {...layoutConfig} descriptions={descriptions} pageContent={pageContent} />;
}

Page.getInitialProps = () => {
Expand Down
Loading

0 comments on commit 000a92b

Please sign in to comment.