react-simplified-ui
v0.1.9
Published
react simple component library
Downloads
4
Maintainers
Readme
react-simplified-ui
インストール
$ npm install react-simplified-ui
使い方
App.tsx
import React from "react";
import "./App.scss";
import { Button } from "react-simplified-ui";
function App() {
return (
<div className="App">
<Button
onClick={() => {
console.log("clicked");
}}
>
Test Button
</Button>
</div>
);
}
export default App;
App.scss
@import "~react-simplified-ui/build/all";
カスタマイズ
_variables.scss
$base-color: #ffffff;
$main-color-dark: #00796b;
$main-color: #009688;
$main-color-light: #b2dfdb;
$accent-color: #ff4081;
App.scss
@import "./variables";
@import "~react-simplified-ui/build/all";
License
This software is released under the MIT License, see LICENSE.txt.