import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import { Icon } from '../../../';
export default class CopyableIcon extends React.Component {
constructor(props) {
super(props);
this.state = {
justCopied: false
};
}
onCopied = () => {
this.setState({ justCopied: true }, () => {
setTimeout(() => {
this.setState({ justCopied: false });
}, 1000);
});
}
render() {
const text = ``;
return (
{this.props.type}
);
}
}