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';
4
4
import { Divider , View , Flex } from '@aws-amplify/ui-react' ;
5
5
import { API_CATEGORIES , API_SUB_CATEGORIES } from '@/data/api-categories.mjs' ;
6
6
import references from '@/directory/apiReferences.json' ;
7
+ import { MDXHeading } from '../MDXComponents' ;
7
8
8
9
export const ReferencePage = ( { category } ) => {
9
10
category = API_CATEGORIES [ category ] || API_SUB_CATEGORIES [ category ] ;
@@ -18,6 +19,8 @@ export const ReferencePage = ({ category }) => {
18
19
< FunctionReference func = { child } />
19
20
</ Fragment >
20
21
) ) }
22
+ < Divider marginTop = { 'large' } marginBottom = { 'large' } />
23
+ < MDXHeading level = { 4 } > Link Color Legend</ MDXHeading >
21
24
< Flex className = "api-legend-container" >
22
25
< Flex >
23
26
< 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) => {
70
70
case 'reference' :
71
71
return (
72
72
< >
73
- < ReferenceType data = { typeData } /> { ' ' }
73
+ < ReferenceType data = { typeData } />
74
74
{ typeArgs && < > { addTypeArgs ( typeArgs , [ ] ) } </ > }
75
75
</ >
76
76
) ;
You can’t perform that action at this time.
0 commit comments