re-meme
re-meme copied to clipboard
RainbowKit refactor to add Disclaimer
import {
RainbowKitProvider,
DisclaimerComponent,
} from '@rainbow-me/rainbowkit';
const Disclaimer: DisclaimerComponent = ({ Text, Link }) => (
<Text>
By connecting your wallet, you agree to the{' '}
<Link href="https://rememe.lol/terms-of-service">Terms of Service</Link> and
acknowledge you have read and understand the app{' '}
<Link href="https://rememe.lol/privacy-policy">Privacy Policy</Link>
</Text>
const App = () => {
return (
<RainbowKitProvider
appInfo={{
appName: 'RainbowKit Demo',
disclaimer: Disclaimer,
}}
{...etc}
>
{/* ... */}
</RainbowKitProvider>
);
};
Will need a refactor of RainbowKit in order to add this (given the new libraries)