| roles* | TeamRole[] | — |
- Name
- roles
- Description
The roles a member can have, shown in the role selects. - Type
TeamRole[]- Default
- —
|
| ownerRole | string | 'owner' |
- Name
- ownerRole
- Description
The role nobody can be given or lose: its member's role select and action menu are disabled. - Type
string- Default
- 'owner'
|
| inviteRole | string | — |
- Name
- inviteRole
- Description
The role a new invite starts with. - Type
string- Default
- —
|
| seats | string | — |
- Name
- seats
- Description
Beside the title, e.g. how many seats are taken. - Type
string- Default
- —
|
| title | string | 'Team' |
- Name
- title
- Description
Shown as the card's title. - Type
string- Default
- 'Team'
|
| description | string | 'People who can manage your store.' |
- Name
- description
- Description
- Type
string- Default
- 'People who can manage your store.'
|
| invitePlaceholder | string | 'colleague@example.com' |
- Name
- invitePlaceholder
- Description
Shown in the empty invite email field. - Type
string- Default
- 'colleague@example.com'
|
| emailLabel | string | 'Email address' |
- Name
- emailLabel
- Description
Screen-reader label of the invite email field. - Type
string- Default
- 'Email address'
|
| roleLabel | string | 'Role' |
- Name
- roleLabel
- Description
Screen-reader label of the invite role select. - Type
string- Default
- 'Role'
|
| inviteLabel | string | 'Invite' |
- Name
- inviteLabel
- Description
Shown on the button that sends the invite. - Type
string- Default
- 'Invite'
|
| pendingLabel | string | 'Pending' |
- Name
- pendingLabel
- Description
Shown on the badge of a member who was invited but has not joined yet. - Type
string- Default
- 'Pending'
|
| activityLabel | string | 'View activity' |
- Name
- activityLabel
- Description
Shown on the menu item that opens a member's activity. - Type
string- Default
- 'View activity'
|
| removeLabel | string | 'Remove from team' |
- Name
- removeLabel
- Description
Shown on the menu item that removes a member from the team. - Type
string- Default
- 'Remove from team'
|
| resendLabel | string | 'Resend invite' |
- Name
- resendLabel
- Description
Shown on the menu item that sends a pending invite again. - Type
string- Default
- 'Resend invite'
|
| revokeLabel | string | 'Revoke invite' |
- Name
- revokeLabel
- Description
Shown on the menu item that withdraws a pending invite. - Type
string- Default
- 'Revoke invite'
|
| memberRoleLabel | ((member: TeamMember) => string) | `Role of ${member.name}` |
- Name
- memberRoleLabel
- Description
Screen-reader label of a member's role select. - Type
(member: TeamMember): string- Default
- `Role of ${member.name}`
|
| memberActionsLabel | ((member: TeamMember) => string) | `Actions for ${member.name}` |
- Name
- memberActionsLabel
- Description
Screen-reader label of a member's action menu button. - Type
(member: TeamMember): string- Default
- `Actions for ${member.name}`
|
| surface | 'raised' | 'bare' | 'raised' |
- Name
- surface
- Description
Bare drops the edge, shadow and inset, for a section placed inside another Card. - Type
'raised' | 'bare'- Default
- 'raised'
|
| class | ClassValue | — |
- Name
- class
- Description
Classes added to the part's own element, after its recipe classes. - Type
null | string | false | Record<string, any> | ClassValue[]- Default
- —
|
| members | TeamMember[] | [] |
- Name
- members
- Description
The team's members and pending invites; changing a role updates it. - Type
TeamMember[]- Default
- []
|