EditProfile.General.Header
Components
Header()
Header(
props
,context
?):ReactNode
Parameters
Parameter | Type |
---|---|
props | HeaderProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/EditProfile/General/Header/index.tsx:44
Props
HeaderProps
HeaderProps:
object
Type declaration
Member | Type |
---|---|
avatar | Profile ["avatar" ] |
cancelLabel | string |
confirmationLabel | object |
confirmationLabel.avatar | string |
confirmationLabel.coverImage | string |
coverImage | Profile ["background" ] |
deleteLabel | string |
deleteTitle | object |
deleteTitle.avatar | ModalProps ["title" ] |
deleteTitle.coverImage | ModalProps ["title" ] |
dragToRepositionLabel | string |
imageTitle | object |
imageTitle.avatar | ModalProps ["title" ] |
imageTitle.coverImage | ModalProps ["title" ] |
isSavingImage | boolean |
onAvatarChange | (avatar ?) => void |
onCoverImageChange | (coverImage ?) => void |
onImageDelete | (type ) => void |
onImageSave | (type , image ?) => void |
profileId | Profile ["did" ]["id" ] |
publicImagePath | string |
saveLabel | string |
title | string |
transformSource | (src ) => Image |
Source
libs/design-system-components/src/components/EditProfile/General/Header/index.tsx:23