<reponame>orgTestCodacy11KRepos110MB/repo-3134-openreplay<filename>frontend/app/components/Client/Sites/BlockedIps.js<gh_stars>0import React from 'react';
import { Input, Button, Icon } from 'UI';
import styles from './blockedIps.module.css';

class BlockedIps extends React.PureComponent {
  render() {
    return (
      <div className={ styles.wrapper }>
        <h4>{ 'Block IP' }</h4>
        <div className={ styles.content }>
          <label>{ 'List of IPs or Subnets to be blocked.' }</label>
          <div className={ styles.inputWrapper }>
            <Input type="text" />
            <Button primary outline >{ 'Block' }</Button>
          </div>

          <div className={ styles.list }>
            <div className={ styles.item }>
              <div>{ '172.16.31.10' }</div>
              <div className={ styles.actions }>
                <Icon name="trash" size="14" color="gray-medium" />
              </div>
            </div>
          </div>
        </div>
      </div>
    );
  }
}

export default BlockedIps;
