You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
751 B
31 lines
751 B
7 years ago
|
import React from 'react';
|
||
7 years ago
|
import PropTypes from 'prop-types';
|
||
7 years ago
|
|
||
7 years ago
|
import Column from 'flavours/glitch/components/column';
|
||
|
import ColumnHeader from 'flavours/glitch/components/column_header';
|
||
7 years ago
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||
7 years ago
|
|
||
7 years ago
|
export default class ColumnLoading extends ImmutablePureComponent {
|
||
7 years ago
|
|
||
7 years ago
|
static propTypes = {
|
||
7 years ago
|
title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
||
7 years ago
|
icon: PropTypes.string,
|
||
|
};
|
||
7 years ago
|
|
||
7 years ago
|
static defaultProps = {
|
||
|
title: '',
|
||
|
icon: '',
|
||
|
};
|
||
|
|
||
|
render() {
|
||
|
let { title, icon } = this.props;
|
||
|
return (
|
||
|
<Column>
|
||
|
<ColumnHeader icon={icon} title={title} multiColumn={false} focusable={false} />
|
||
|
<div className='scrollable' />
|
||
|
</Column>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|