@slice-so/react-ui
v0.0.18
Published
Slice react ui functional components
Downloads
2
Maintainers
Readme
Slice react-ui
Installation
npm install @slice-so/react-ui
Usage
import React from 'react';
import { Checkout } from '@slice-so/react-ui';
// import styles
import "@slice-so/react-ui/dist/style.css"
import "@rainbow-me/rainbowkit/styles.css"
const cart = /* ... */;
export const ExampleUsage = () => {
return (
<>
<WagmiConfig config={wagmiConfig}>
<SliceProvider chains={chains} initCart={cart}>
<div>
<div>
<ConnectBlock />
</div>
<Checkout />
</div>
</SliceProvider>
</WagmiConfig>
</>
)
}
export default ExampleUsage;