@tigasorei/xstyled
v0.0.1
Published
A simple xstyled UI library for React Project
Maintainers
Readme
@sore/xstyled
A simple UI Library for React project, made with styled-components and @xstyled/styled-components
Installation
To install this library you can use npm or yarn
# using npm
npm install @sore/xstyled
# using yarn
yarn add @sore/xstyledUsage/Examples
Here is basic example of how to use this library
Import and use components
import { Button } from '@sore/xstyled'
function App() {
return <Button mb="10px">Hello from Button</Button>
}Additional configuration
import { ThemeProvider } from "@xstyled/styled-components";
import { theme, Preflight } from '@sore/xstyled';
const App = () => {
return (
<ThemeProvider theme={theme}>
<Preflight />
<ComponentA />
<ComponentB />
</ThemeProvider>
);
};
export default App;Documentation
For complete documentation and more usage examples, please visit Documentation
Contributing
We welcome contributions! If you would like to contribute, please follow these steps:
- Fork this repository.
- Create a new branch:
git checkout -b your-feature. - Make your changes and commit them:
git commit -m 'Add new feature'. - Push to the branch:
git push origin your-feature. - Create a Pull Request.
