diff --git a/docs/src/modules/components/ApiPage/list/ExpandableApiItem.tsx b/docs/src/modules/components/ApiPage/list/ExpandableApiItem.tsx index d621441d976029..3ad19a810cef4e 100644 --- a/docs/src/modules/components/ApiPage/list/ExpandableApiItem.tsx +++ b/docs/src/modules/components/ApiPage/list/ExpandableApiItem.tsx @@ -178,6 +178,9 @@ export default function ExpandableApiItem(props: ExpandableApiItemProps) { React.useEffect(() => { setIsExtended(displayOption === 'expanded'); }, [displayOption]); + + const anchorLabelId = React.useId(); + return (
- + {title} diff --git a/docs/src/modules/components/ApiPage/list/PropertiesList.tsx b/docs/src/modules/components/ApiPage/list/PropertiesList.tsx index 52895d4d91373f..cd406c29d2ec30 100644 --- a/docs/src/modules/components/ApiPage/list/PropertiesList.tsx +++ b/docs/src/modules/components/ApiPage/list/PropertiesList.tsx @@ -157,12 +157,12 @@ export default function PropertiesList(props: PropertiesListProps) { {propName} {isProPlan && ( - + )} {isPremiumPlan && ( - + )} diff --git a/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx b/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx index aab9a344bc96be..c08aff256245d7 100644 --- a/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx +++ b/docs/src/modules/components/ApiPage/table/PropertiesTable.tsx @@ -168,12 +168,12 @@ export default function PropertiesTable(props: PropertiesTableProps) { {isRequired ? '*' : ''} {isOptional ? '?' : ''} {isProPlan && ( - + )} {isPremiumPlan && ( - + )} diff --git a/docs/src/modules/components/MaterialShowcase.js b/docs/src/modules/components/MaterialShowcase.js index 2cc103b80fd94a..14834e14b466e9 100644 --- a/docs/src/modules/components/MaterialShowcase.js +++ b/docs/src/modules/components/MaterialShowcase.js @@ -489,7 +489,7 @@ export default function Showcase() { }), })} > - +