node package manager

react-clipboard-icon

is an svg icon from clipboard.js site assets, packaged as a React stateless component

react-clipboard-icon

is an svg icon from clipboard.js site assets, packaged as a React stateless component

Installation | Usage | License

All credits go to @zenorocha.

clippy

Installation

With npm do

npm install react-clipboard-icon

Usage

Import react-clipboard-icon in your React component. Props style and size are optional.

import React from 'react'
import ClipboardIcon from 'react-clipboard-icon'
 
const MyComponent = () => (
  <div>
    <ClipboardIcon
      size={40}
      style={{ fill: 'red' }}
    />
  </div>
)
 
export default MyComponent

License

MIT