import './demo4.css';
import Badge from '../index';
import React from 'react';
import ReactDOM from 'react-dom';
import { Icon } from '@alifd/next';
ReactDOM.render(React.createElement("div", null,
    React.createElement(Badge, { content: "hot", style: { backgroundColor: '#FC0E3D', color: '#FFFFFF' } },
        React.createElement("a", { href: "#", className: "head-example" })),
    React.createElement(Badge, { content: React.createElement(Icon, { type: "error" }), style: { backgroundColor: 'transparent', color: 'red', padding: 0 } },
        React.createElement("a", { href: "#", className: "head-example" }))), document.getElementById('badge-demo-4'));
