ref(chat): de-parameterize AbstractMessageContainer
This commit is contained in:
parent
cb8282dfe5
commit
4eec13da1c
|
@ -15,7 +15,7 @@ export type Props = {
|
|||
*
|
||||
* @extends PureComponent
|
||||
*/
|
||||
export default class AbstractMessageContainer<P: Props> extends PureComponent<P> {
|
||||
export default class AbstractMessageContainer extends PureComponent<Props> {
|
||||
static defaultProps = {
|
||||
messages: []
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ import styles from './styles';
|
|||
/**
|
||||
* Implements a container to render all the chat messages in a conference.
|
||||
*/
|
||||
export default class MessageContainer extends AbstractMessageContainer<Props> {
|
||||
export default class MessageContainer extends AbstractMessageContainer {
|
||||
/**
|
||||
* Instantiates a new instance of the component.
|
||||
*
|
||||
|
|
|
@ -12,7 +12,7 @@ import ChatMessageGroup from './ChatMessageGroup';
|
|||
*
|
||||
* @extends AbstractMessageContainer
|
||||
*/
|
||||
export default class MessageContainer extends AbstractMessageContainer<Props> {
|
||||
export default class MessageContainer extends AbstractMessageContainer {
|
||||
/**
|
||||
* Reference to the HTML element at the end of the list of displayed chat
|
||||
* messages. Used for scrolling to the end of the chat messages.
|
||||
|
|
Loading…
Reference in New Issue