Interface: UserDetailsProps
Defined in: components/UserDetails.tsx:16
Properties
activeCompany
activeCompany:
Company|null
Defined in: components/UserDetails.tsx:23
The currently active company
countries?
optionalcountries?:object[]
Defined in: components/UserDetails.tsx:50
Country code-to-name mapping for address display
code
code:
string
name
name:
string
labels?
optionallabels?: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?
optionallistAllContactCompanies?:boolean
Defined in: components/UserDetails.tsx:35
Display a list of all companies if the user is Contact
Default
false
showCompanyInfo?
optionalshowCompanyInfo?:boolean
Defined in: components/UserDetails.tsx:29
Display basic company information for the default company if the user is Contact
Default
true
showDefaultDeliveryAddress?
optionalshowDefaultDeliveryAddress?:boolean
Defined in: components/UserDetails.tsx:47
Display details of the user's default delivery address.
Default
false
showDefaultInvoiceAddress?
optionalshowDefaultInvoiceAddress?:boolean
Defined in: components/UserDetails.tsx:41
Display details of the user's default invoice address.
Default
true
user?
optionaluser?:Contact|Customer|null
Defined in: components/UserDetails.tsx:18
The currently logged in user (Contact or Customer). Resolved from <PropellerProvider> when not passed explicitly.