0.0.2 • Published 2 years ago

sore-ui v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Sore UI

Sore UI is a simple ui library for your react app.

Installation

npm install sore-ui

or

yarn add sore-ui

Usage

import { Button } from "sore-ui";

function Component() {
  return <Button mb="10px">Button</Button>;
}

Use default theme

// In your app.jsx
import { ThemeProvider } from "@xstyled/styled-components";
import { defaultTheme, GlobalStyle } from "sore-ui";
// ...

ReactDOM.render(
  document.getElementById("root"),
  <ThemeProvider theme={defaultTheme}>
    <GlobalStyle />
    <App />
  </ThemeProvider>,
);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU GPLv3