1.1.29 • Published 2 years ago
ursa-react v1.1.29
Ursa React
Ursa React is a simple plain component library with the intention to provide clean simple components with no opinionated heavy CSS.
Using the React components
Installation
Run the following command using npm:
npm install ursa-react --save
In you react app you can start using by adding the provider as below
root.render(
<UrsaProvider customTheme={customTheme}>
<BrowserRouter>
<App />
</BrowserRouter>
</UrsaProvider>
);
An optional custom theme can be applied or managed in your app to extend features of the library
// Define other any theme changes in your app
const customTheme = {
colors: {
primary: '',
},
};
root.render(
<UrsaProvider customTheme={customTheme}>
<BrowserRouter>
<App />
</BrowserRouter>
</UrsaProvider>
);
Add in the Global Styles to get a css reset and set fonts and things to remove default browsers styles
import { GlobalStyles, UrsaProvider } from 'ursa-react';
// Define other any theme changes in your app
const customTheme = {
colors: {
primary: '',
},
};
root.render(
<UrsaProvider customTheme={customTheme}>
<GlobalStyles />
<BrowserRouter>
<App />
</BrowserRouter>
</UrsaProvider>
);
Take a tour of the storybook docs here
Ursa React Storybook Docs (https://bschrenk.github.io/ursa-react)
1.1.1
2 years ago
1.1.0
2 years ago
1.1.29
2 years ago
1.1.28
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.12
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.16
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.13
2 years ago
1.1.19
2 years ago
1.1.18
2 years ago
1.1.17
2 years ago
1.1.23
2 years ago
1.1.22
2 years ago
1.1.21
2 years ago
1.1.27
2 years ago
1.1.26
2 years ago
1.1.25
2 years ago
1.1.24
2 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago