github.com/argoproj/argo-cd@v1.8.7/ui/src/app/settings/components/project-events/project-events.tsx (about) 1 import {MockupList} from 'argo-ui'; 2 import * as React from 'react'; 3 4 import {DataLoader, EventsList} from '../../../shared/components'; 5 import {services} from '../../../shared/services'; 6 7 export const ProjectEvents = (props: {projectName: string}) => ( 8 <div className='application-resource-events'> 9 <DataLoader load={() => services.projects.events(props.projectName)} loadingRenderer={() => <MockupList height={50} marginTop={10} />}> 10 {events => <EventsList events={events} />} 11 </DataLoader> 12 </div> 13 );