How to use the react-feather/dist/icons/eye-off.default function in react-feather

To help you get started, we’ve selected a few react-feather examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appbaseio / dashboard / src / pages / CredentialsPage / Permission.js View on Github external
import React from 'react';
import { Button, Popconfirm, Tooltip, notification } from 'antd';
import { css } from 'react-emotion';
import { object, func } from 'prop-types';
import { CopyToClipboard } from 'react-copy-to-clipboard';
import Flex from '../../batteries/components/shared/Flex';

const EyeIcon = require('react-feather/dist/icons/eye').default;
const EyeOffIcon = require('react-feather/dist/icons/eye-off').default;
const CopyIcon = require('react-feather/dist/icons/copy').default;
const EditIcon = require('react-feather/dist/icons/edit').default;
const DeleteIcon = require('react-feather/dist/icons/trash-2').default;

const main = css`
	.ant-btn {
		border: transparent;
		margin-left: 5px;
		padding: 0 5px;
	}
`;
const container = css`
	border: 1px solid #e8e8e8;
	padding: 2px 10px;
	.ant-btn {
		border: transparent;