Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 911 Bytes

readme.md

File metadata and controls

23 lines (21 loc) · 911 Bytes

MetaSection

Component for displaying record metadata such as the last date/time a record was modified.

Usage

<MetaSection
  id="userInfoRecordMeta"
  contentId="userInfoRecordMetaContent"
  lastUpdatedDate={user.updatedDate}
  createdDate={user.createdDate}
/>

Props

Name type description default required
lastUpdatedDate string Latest date/time a record was modified.
lastUpdatedBy string/object Name/record of the last user who modified the record.
createdDate: string Date/time a record was created.
createdBy: string/object Name/record of the user who created the record.
id: string HTML id attribute assigned to accordion's root.
contentId: string HTML id attribute assigned to accordion's content
showUserLink boolean Should the user name link to the user record? Pass in permission false