import { observer } from 'mobx-react-lite'; import React from 'react'; import { useStore } from 'App/mstore'; import { NoContent } from 'UI'; import DocLink from 'Shared/DocLink/DocLink'; function TeamsChannelList(props: { onEdit: () => void }) { const { integrationsStore } = useStore(); const list = integrationsStore.msteams.list; const edit = integrationsStore.msteams.edit; const onEdit = (instance: Record) => { edit(instance); props.onEdit(); }; return (
Integrate MS Teams with OpenReplay and share insights with the rest of the team, directly from the recording page.
} size="small" show={list.length === 0} > {list.map((c: any) => (
onEdit(c)} >
{c.name}
{c.endpoint}
))} ); } export default observer(TeamsChannelList);