Roles Menu
Team and settingsMITRole assignment dropdown with descriptions and current-role check.
bun add @otfdashkit/ui
Preview
Roles MenuTeam and settings
Code
@otfdashkit/uiimport { RolesMenu } from '@otfdashkit/ui'
export function Example() {
return (
<div className="p-4"><RolesMenu /></div>
)
}
Free with the SDK. This block ships in @otfdashkit/ui under the MIT license.
Props
Props declared in the RolesMenu source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | ||
| onChange | (role: string) => void | ||
| value | string | 'member' |