logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

clear_column_button.js (518B)


  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. import { FormattedMessage } from 'react-intl';
  4. export default class ClearColumnButton extends React.PureComponent {
  5. static propTypes = {
  6. onClick: PropTypes.func.isRequired,
  7. };
  8. render () {
  9. return (
  10. <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>
  11. );
  12. }
  13. }