import './demo1.css'; // @ts-ignore import CopyToClipboard from 'react-copy-to-clipboard'; import Icon from '..'; import React from 'react'; import ReactDOM from 'react-dom'; import { Message } from '../..'; const types = [ 'smile', 'cry', 'success', 'warning', 'prompt', 'error', 'help', 'clock', 'success-filling', 'delete-filling', 'favorites-filling', 'add', 'minus', 'arrow-up', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-double-left', 'arrow-double-right', 'switch', 'sorting', 'descending', 'ascending', 'select', 'semi-select', 'loading', 'search', 'close', 'ellipsis', 'picture', 'calendar', 'ashbin', 'upload', 'download', 'set', 'edit', 'refresh', 'filter', 'attachment', 'account', 'email', 'atm', 'copy', 'exit', 'eye', 'eye-close', 'toggle-left', 'toggle-right', 'lock', 'unlock', 'chart-pie', 'chart-bar', 'form', 'detail', 'list', 'dashboard', ]; let customTypes = []; // The code here is for fusion dev display custom Icon components only if ('customIcons' in window) { customTypes = (window as any).customIcons; } const handleCopy = () => Message.success('Copied!'); ReactDOM.render(