@cosmology-ui/utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.24 • Public • Published

@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 ⚛️

Package Sidebar

Install

npm i @cosmology-ui/utils

Weekly Downloads

31

Version

0.1.24

License

SEE LICENSE IN LICENSE

Unpacked Size

273 kB

Total Files

61

Last publish

Collaborators

  • phatg
  • zetazz
  • luca608
  • ljun8575
  • pyramation