space ui
1.3.1
React-Komponentenbibliothek für Metaverse-3D- und 2D-Apps.
1.) npm install @space-metaverse-ag/space-ui
2.) Wickeln Sie ThemeProvider
um Ihre App.
import { ThemeProvider } from '@space-metaverse-ag/space-ui'
const App = ({ Component, pageProps }: AppProps) => (
<Provider store={store}>
<ThemeProvider>
<Component {...pageProps} />
</ThemeProvider>
</Provider>
)
3.) Importieren Sie index.css
in Ihre App.
import "@space-metaverse-ag/space-ui/index.css"
Komponenten:
import { Button, TextInput } from "@space-metaverse-ag/space-ui";
Symbole:
import { Home, UpArrow } from "@space-metaverse-ag/space-ui/icons";
Installieren Sie Node.js LTS
npm install --force
npm run storybook
Gehen Sie zu: http://localhost:6006/
https://www.npmjs.com/package/@space-metaverse-ag/space-ui
https://storybook.dev.tryspace.com – dev
https://storybook.qa.tryspace.com – qa
https://storybook.tryspace.com – main