@whal3s/react-dynamic
v1.0.25
Published
Whal3s Connect button to work with Dynamic
Downloads
7
Readme
Whal3s UI Components for Dynamic
Installation
npm install @whal3s/react-dynamic
Usage
'use client';
import dynamic from 'next/dynamic'
import { Providers } from '@/app/providers'
const DynamicWhal3sDynamicButton = dynamic(() => import('@whal3s/react-dynamic').then((mod) => mod.Whal3sDynamicButton), {ssr: false});
const Claim = () => {
return (
<Providers>
<DynamicWhal3sDynamicButton isClaimed={false} onClaim={() => {}}/>
</Providers>
)
};
export default Claim;