Skip to main content

Interface: UserDetailsProps

Defined in: components/UserDetails.tsx:16

Properties

activeCompany

activeCompany: Company | null

Defined in: components/UserDetails.tsx:23

The currently active company


countries?

optional countries?: object[]

Defined in: components/UserDetails.tsx:50

Country code-to-name mapping for address display

code

code: string

name

name: string


labels?

optional labels?: Record<string, string>

Defined in: components/UserDetails.tsx:57

Translated labels keyed by the slugs used inside the component (see getLabel calls). Missing keys fall back to the English defaults.


listAllContactCompanies?

optional listAllContactCompanies?: boolean

Defined in: components/UserDetails.tsx:35

Display a list of all companies if the user is Contact

Default

false

showCompanyInfo?

optional showCompanyInfo?: boolean

Defined in: components/UserDetails.tsx:29

Display basic company information for the default company if the user is Contact

Default

true

showDefaultDeliveryAddress?

optional showDefaultDeliveryAddress?: boolean

Defined in: components/UserDetails.tsx:47

Display details of the user's default delivery address.

Default

false

showDefaultInvoiceAddress?

optional showDefaultInvoiceAddress?: boolean

Defined in: components/UserDetails.tsx:41

Display details of the user's default invoice address.

Default

true

user?

optional user?: Contact | Customer | null

Defined in: components/UserDetails.tsx:18

The currently logged in user (Contact or Customer). Resolved from <PropellerProvider> when not passed explicitly.