Profile.Header
Components
Header()
Header(
props
,context
?):ReactNode
Parameters
Parameter | Type |
---|---|
props | HeaderProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/Profile/Header/index.tsx:54
Props
HeaderProps
HeaderProps:
object
Type declaration
Member | Type |
---|---|
actionElement | ReactElement |
activeOverlay | "avatar" | "coverImage" | null |
avatar | Profile ["avatar" ] |
background | Profile ["background" ] |
badges | ProfileBadge [] |
copiedLabel | string |
copyLabel | string |
customStyle | string |
ensName | "loading" | string |
followElement | ReactElement |
handleEdit | () => void |
menuItems | MenuProps ["items" ] |
onClickAvatar | () => void |
onClickCoverImage | () => void |
onClickProfileName | () => void |
onCloseOverlay | () => void |
plain | boolean |
profileId | Profile ["did" ]["id" ] |
profileName | Profile ["name" ] |
publicImagePath | string |
transformSource | (src ) => Image |
validAddress | boolean |
viewerIsOwner | boolean |
Source
libs/design-system-components/src/components/Profile/Header/index.tsx:28