]> cat aescling's git repositories - mastodon.git/blob - app/javascript/themes/glitch/features/notifications/components/clear_column_button.js
Forking glitch theme
[mastodon.git] / app / javascript / themes / glitch / features / notifications / components / clear_column_button.js
1 import React from 'react';
2 import PropTypes from 'prop-types';
3 import { FormattedMessage } from 'react-intl';
4
5 export default class ClearColumnButton extends React.Component {
6
7 static propTypes = {
8 onClick: PropTypes.func.isRequired,
9 };
10
11 render () {
12 return (
13 <button className='text-btn column-header__setting-btn' tabIndex='0' onClick={this.props.onClick}><i className='fa fa-eraser' /> <FormattedMessage id='notifications.clear' defaultMessage='Clear notifications' /></button>
14 );
15 }
16
17 }
This page took 0.0617529999999999 seconds and 4 git commands to generate.