Skip to main content

Interface: UserProfileEditSectionPublicInfoProps

UserProfileEdit.UserProfileEditSectionPublicInfoProps

Indexable

▪ [p: string]: any

Any other properties

Properties

className

Optional className: string

Overrides or extends the styles applied to the component.

Default

null

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:71


endActions

Optional endActions: ReactNode

Actions to be inserted at the end

Default

null

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:98


fields

Optional fields: SCUserProfileFields[]

User fields to display in the profile

Default

[real_name, date_joined, date_of_birth, website, description, bio]

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:76


id

Optional id: string

Id of user object

Default

null

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:66


onEditFailure

Optional onEditFailure: (editedField?: Record<string, any>) => void

Type declaration

▸ (editedField?): void

Callback on edit data with error

Parameters
NameType
editedField?Record<string, any>
Returns

void

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:86


onEditSuccess

Optional onEditSuccess: (editedField?: Record<string, any>) => void

Type declaration

▸ (editedField?): void

Callback on edit data with success

Parameters
NameType
editedField?Record<string, any>
Returns

void

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:81


startActions

Optional startActions: ReactNode

Actions to be inserted at the start

Default

null

Defined in

packages/react-ui/src/components/UserProfileEdit/Section/PublicInfo.tsx:92