import React, { Component } from "react";
import randomColor from "randomcolor";
import TagCloud from "react-tag-cloud";
import CloudItem from "./CloudItem";
const styles = {
large: {
fontSize: 60,
fontWeight: "bold"
},
small: {
opacity: 0.7,
fontSize: 16
}
};
class App extends Component {
componentDidMount() {
setInterval(() => {
this.forceUpdate();
}, 3000);
}
render() {
return (
react-tag-cloud demo
Math.round(Math.random()) * 90}
style={{
fontFamily: "sans-serif",
// fontSize: () => Math.round(Math.random() * 50) + 16,
fontSize: 30,
color: () =>
randomColor({
hue: "blue"
}),
padding: 5
}}
>
Futurama
Transformers
Simpsons
Dragon Ball
Rick & Morty
He man
World trigger
Avengers
Family Guy
American Dad
Hover Me Please!
HOVERED!
Gobots
Thundercats
M.A.S.K.
GI Joe
Inspector Gadget
Bugs Bunny
Tom & Jerry
Cowboy Bebop
Evangelion
Bleach
GITS
Pokemon
She Ra
Fullmetal Alchemist
Gundam
Uni Taisen
Pinky and the Brain
Bobs Burgers
Dino Riders
Silverhawks
Bravestar
Starcom
Cops
Alfred J. Kwak
Dr Snuggles
);
}
}
export default App;