import './demo3.css';
import Icon from '..';
import React from 'react';
import ReactDOM from 'react-dom';
const sizes = [ 'xxs', 'xs', 'small', 'medium', 'large', 'xl', 'xxl', 'xxxl' ];
const inherit = 'inherit';
ReactDOM.render((
{sizes.map((size, index) => (
-
{size}
))}
{inherit}
Shall I compare thee to a summer's day?
Thou art more lovely and more temperate.
Rough winds do shake the darling buds of May,
And summer's lease hath all too short a date.
), document.getElementById('icon-demo-3'));