10 | {!props.followers || props.followers?.length === 0
11 | ? 'No users found...'
12 | : props.followers?.map((user: { userId: string; userName: string }, index: number) => (
13 |
14 |
15 |
16 | ))}
17 |
18 | );
19 | }
20 |
--------------------------------------------------------------------------------
/src/frontend-nextjs/components/SwaggerUIReact.tsx:
--------------------------------------------------------------------------------
1 | 'use client';
2 |
3 | import SwaggerUI from 'swagger-ui-react';
4 | import 'swagger-ui-react/swagger-ui.css';
5 |
6 | type Props = {
7 | spec: Record