Renders a simple h1 element with a color!
npm install --save colored-heading
import React, { Component } from "react";
import ColoredHeadingOne, { ColoredHeadingTwo } from "colored-heading";
export default class App extends Component {
render() {
return (
<div>
<ColoredHeadingOne
text="Colored heading one is working"
color={"red"}
/>
<ColoredHeadingTwo
text="Colored heading two is working"
color={"blue"}
/>
</div>
);
}
}
MIT © skolhustick