The code powering m.abunchtell.com https://m.abunchtell.com
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
737 B

  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. import Column from '../../../components/column';
  4. import ColumnHeader from '../../../components/column_header';
  5. import ImmutablePureComponent from 'react-immutable-pure-component';
  6. export default class ColumnLoading extends ImmutablePureComponent {
  7. static propTypes = {
  8. title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
  9. icon: PropTypes.string,
  10. };
  11. static defaultProps = {
  12. title: '',
  13. icon: '',
  14. };
  15. render() {
  16. let { title, icon } = this.props;
  17. return (
  18. <Column>
  19. <ColumnHeader icon={icon} title={title} multiColumn={false} focusable={false} />
  20. <div className='scrollable' />
  21. </Column>
  22. );
  23. }
  24. }