JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q38178F
  • License SEE LICENSE IN LICENSE

cosmology-ui

Package Exports

  • @cosmology-ui/utils
  • @cosmology-ui/utils/main/index.js
  • @cosmology-ui/utils/module/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cosmology-ui/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@cosmology-ui/utils

Install

yarn add @chakra-ui^2.4.2 @cosmology-ui/utils

How to use

import ChakraProvider and our default theme

import { ChakraProvider } from '@chakra-ui/react';
import { defaultTheme, ThemeProvider } from '@cosmology-ui/react';

export default function App({ Component, pageProps }: AppProps) {
  return (
    <ThemeProvider>
      <ChakraProvider theme={defaultTheme}>
        <Component {...pageProps} />
      </ChakraProvider>
    </ThemeProvider>
  );
}

then can use

import { ConnectWalletButton } from '@cosmology-ui/utils';

export default function Home() {
  return (
    <ConnectWalletButton />
  );
}

Our Website

⚛️ https://cosmoskit.com/

Credits

🛠 Built by Cosmology — if you like our tools, please consider delegating to our validator ⚛️