import React from 'react'; import { connect } from 'react-redux'; import { NoContent } from 'UI'; import { remove, edit, init } from 'Duck/integrations/teams'; import DocLink from 'Shared/DocLink/DocLink'; function TeamsChannelList(props: { list: any, edit: (inst: any) => any, onEdit: () => void }) { const { list } = props; const onEdit = (instance: Record) => { props.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.size === 0} > {list.map((c: any) => (
onEdit(c)} >
{c.name}
{c.endpoint}
))} ); } export default connect( (state: any) => ({ list: state.getIn(['teams', 'list']), }), { remove, edit, init } )(TeamsChannelList);