BaseCompositeProps interface

Properties common to all composites exported from this library.

Properties

fluentTheme

Fluent theme for the composite.

icons

Custom Icon override for the composite. A JSX element can be provided to override the default icon.

locale

Locale for the composite.

onFetchAvatarPersonaData

A callback function that can be used to provide custom data to Avatars rendered in Composite.

This will not affect the displayName shown in the composite. The displayName throughout the composite will be what is provided to the adapter when the adapter is created. will be what is provided to the adapter when the adapter is created.

onFetchParticipantMenuItems

A callback function that can be used to provide custom menu items for a participant in participant list.

rtl

Whether composite is displayed right-to-left.

Property Details

fluentTheme

Fluent theme for the composite.

fluentTheme?: PartialTheme | Theme

Property Value

PartialTheme | Theme

icons

Custom Icon override for the composite. A JSX element can be provided to override the default icon.

icons?: TIcons

Property Value

TIcons

locale

Locale for the composite.

locale?: CompositeLocale

Property Value

onFetchAvatarPersonaData

A callback function that can be used to provide custom data to Avatars rendered in Composite.

This will not affect the displayName shown in the composite. The displayName throughout the composite will be what is provided to the adapter when the adapter is created. will be what is provided to the adapter when the adapter is created.

onFetchAvatarPersonaData?: AvatarPersonaDataCallback

Property Value

onFetchParticipantMenuItems

A callback function that can be used to provide custom menu items for a participant in participant list.

onFetchParticipantMenuItems?: ParticipantMenuItemsCallback

Property Value

rtl

Whether composite is displayed right-to-left.

rtl?: boolean

Property Value

boolean