mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 09:18:06 +01:00
6a6a62f13f
* fix(column_header): Invalid ARIA role * fix(column): Remove hidden nodes from the DOM * refactor(column_link): Remove unused property hideOnMobile * fix(column_header): Use aria-pressed * fix(column_header): Make collapsed content not focusable, add focusable property * fix(column_loading): Make header non-focusable * fix(column_settings): Use role to group the toggles
19 lines
492 B
JavaScript
19 lines
492 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} focusable={false} />
|
|
<div className='scrollable' />
|
|
</Column>
|
|
);
|
|
|
|
ColumnLoading.propTypes = {
|
|
title: PropTypes.node,
|
|
icon: PropTypes.string,
|
|
};
|
|
|
|
export default ColumnLoading;
|