Skip to content

asharimh97/sore-ui

Repository files navigation

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

Releases

No releases published

Packages

No packages published