I made this years ago thinking it would be cool if every DOM node has its own styles and behavior.
// ./dist/A/A.js
import React from "react";
import "./A.scss";
let A = props => <a {...props}>{props.children}</a>;
export default A;
As you can see this function will pass all props an behave like an A but it will also import its own SCSS file if you happen to use it.
git clone https://github.com/zackmorgs/react-htmlkit.git- Copy/paste everything in
./distto a your your react app in./srcsomewhere. (I choose./src/html) - Modify the files to your desire.
You can create everything in ./dist by via npm start.