mainbase-ui 3.37.0 → 3.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# mainbase-ui
|
|
2
2
|
|
|
3
|
-
[](https://npmx.dev/package/@mainbase-ui/react)
|
|
4
|
-
[](https://npmx.dev/package/@mainbase-ui/react)
|
|
5
|
-
[](https://npmx.dev/package/@mainbase-ui/react)
|
|
6
|
-
[](https://github.com/mainbase-ui/mainbase-ui/blob/main/LICENSE)
|
|
7
3
|
|
|
8
4
|
Mainbase UI is a component system for building products with speed. Accessible
|
|
9
5
|
React components for building high-quality web apps and design systems. Works
|
|
@@ -47,7 +43,7 @@ bun add mainbase-ui @emotion/react
|
|
|
47
43
|
1. Wrap your application with the `MainbaseProvider` component:
|
|
48
44
|
|
|
49
45
|
```tsx
|
|
50
|
-
import { MainbaseProvider, defaultSystem } from "
|
|
46
|
+
import { MainbaseProvider, defaultSystem } from "mainbase-ui"
|
|
51
47
|
|
|
52
48
|
export const App = ({ children }) => (
|
|
53
49
|
<MainbaseProvider value={defaultSystem}>{children}</MainbaseProvider>
|
|
@@ -57,7 +53,7 @@ export const App = ({ children }) => (
|
|
|
57
53
|
2. Start using components:
|
|
58
54
|
|
|
59
55
|
```tsx
|
|
60
|
-
import { Button } from "
|
|
56
|
+
import { Button } from "mainbase-ui"
|
|
61
57
|
|
|
62
58
|
const Demo = () => <Button>I just consumed some ⚡️Mainbase!</Button>
|
|
63
59
|
```
|