mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
fc4c74660b
* feat: Replace react-swipeable with react-swipeable-views * fix: iOS 9
20 lines
474 B
JavaScript
20 lines
474 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
import Column from '../../../components/column';
|
|
import ColumnHeader from '../../../components/column_header';
|
|
|
|
const ColumnLoading = ({ title = '', icon = ' ' }) => (
|
|
<Column>
|
|
<ColumnHeader icon={icon} title={title} multiColumn={false} />
|
|
<div className='scrollable' />
|
|
</Column>
|
|
);
|
|
|
|
ColumnLoading.propTypes = {
|
|
title: PropTypes.node,
|
|
icon: PropTypes.string,
|
|
};
|
|
|
|
export default ColumnLoading;
|