- Theme
- Button
import { LeonTheme } from "leon-theme";
root.render(
<React.StrictMode>
<LeonTheme component={App} />
</React.StrictMode>
);
const theme = {
borderRadius: "30px",
color: "yellow",
backgroundColor: "purple",
};
<LeonTheme component={App} theme={main} />
import { Button as LeonButton } from "leon-theme";
<LeonButton label="Leon Theme Works!" />
npm run build
> Will generate the dist
folder
Module published with npm publish --access public