Hide call buttons when on call
This commit is contained in:
parent
a7854c6083
commit
decc93532b
18 changed files with 622 additions and 366 deletions
14
ts/state/roots/createConversationHeader.tsx
Normal file
14
ts/state/roots/createConversationHeader.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import React from 'react';
|
||||
import { Store } from 'redux';
|
||||
import { Provider } from 'react-redux';
|
||||
|
||||
import { SmartConversationHeader, OwnProps } from '../smart/ConversationHeader';
|
||||
|
||||
export const createConversationHeader = (
|
||||
store: Store,
|
||||
props: OwnProps
|
||||
): React.ReactElement => (
|
||||
<Provider store={store}>
|
||||
<SmartConversationHeader {...props} />
|
||||
</Provider>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue