import React from 'react'; import { Button, Form, Input, message } from 'antd'; import classnames from 'classnames'; import CopyToClipboard from 'react-copy-to-clipboard'; interface CopyInputProps { label: string; value: string | undefined; className?: string; help?: string; isTextarea?: boolean; } const CopyInput: React.SFC = ({ label, value, help, className, isTextarea, }) => ( {isTextarea ? ( <> message.success('Copied!', 2)}>