Skip to main content

Activity Feed

A shared package Activity Feed component

Usage​

The module has been imported into our root npm package. All you have to do is import it into your module.

import React from 'react'
import { ActivityFeed } from '@shared/activity-feed'

const ActivityFeedPanel = ({ person, account }) => {
return <ActivityFeed person={person} company={account} />
}

Props​

PropTypeRequiredDefaultDescription
personPrivateApiPersonType.PersonNoPerson type
companyPrivateApiAccountType.AccountNoAccount type

Exported Types​

TypeDescription
IActionRecordCadence resource returned by our public apis