File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { FunctionReference } from './FunctionReference';
44import { Divider , View , Flex } from '@aws-amplify/ui-react' ;
55import { API_CATEGORIES , API_SUB_CATEGORIES } from '@/data/api-categories.mjs' ;
66import references from '@/directory/apiReferences.json' ;
7+ import { MDXHeading } from '../MDXComponents' ;
78
89export const ReferencePage = ( { category } ) => {
910 category = API_CATEGORIES [ category ] || API_SUB_CATEGORIES [ category ] ;
@@ -18,6 +19,8 @@ export const ReferencePage = ({ category }) => {
1819 < FunctionReference func = { child } />
1920 </ Fragment >
2021 ) ) }
22+ < Divider marginTop = { 'large' } marginBottom = { 'large' } />
23+ < MDXHeading level = { 4 } > Link Color Legend</ MDXHeading >
2124 < Flex className = "api-legend-container" >
2225 < Flex >
2326 < View as = "span" className = "api-legend interface" />
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const ParameterType = ({ typeData }: ParameterComponentType) => {
7070 case 'reference' :
7171 return (
7272 < >
73- < ReferenceType data = { typeData } /> { ' ' }
73+ < ReferenceType data = { typeData } />
7474 { typeArgs && < > { addTypeArgs ( typeArgs , [ ] ) } </ > }
7575 </ >
7676 ) ;
You can’t perform that action at this time.
0 commit comments