1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-30 15:58:20 +09:00
whippy-edition/app/javascript/mastodon/features/ui/components/column_loading.js

20 lines
492 B
JavaScript
Raw Normal View History

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} focusable={false} />
<div className='scrollable' />
</Column>
);
ColumnLoading.propTypes = {
title: PropTypes.node,
icon: PropTypes.string,
};
export default ColumnLoading;