Skip to content

Commit

Permalink
[WIP] Implement the new API page
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed May 25, 2023
1 parent d16333c commit d9c3bf4
Show file tree
Hide file tree
Showing 5 changed files with 801 additions and 108 deletions.
2 changes: 2 additions & 0 deletions docs/src/modules/components/ApiPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import MarkdownElement from 'docs/src/modules/components/MarkdownElement';
import AppLayoutDocs from 'docs/src/modules/components/AppLayoutDocs';
import Ad from 'docs/src/modules/components/Ad';
import { sxChip } from './AppNavDrawerItem';
import CSSList from './ApiPage/CSSList';

function CSSTable(props) {
const { componentStyles, classDescriptions } = props;
Expand Down Expand Up @@ -427,6 +428,7 @@ import { ${pageContent.name} } from '${source}';`}
<Heading hash="css" />
<p dangerouslySetInnerHTML={{ __html: t('api-docs.cssDescription') }} />
<CSSTable componentStyles={componentStyles} classDescriptions={classDescriptions} />
<CSSList componentStyles={componentStyles} classDescriptions={classDescriptions} />
<br />
<p dangerouslySetInnerHTML={{ __html: t('api-docs.overrideStyles') }} />
<span
Expand Down
Loading

0 comments on commit d9c3bf4

Please sign in to comment.