Skip to content

growth-mate/react-example

Repository files navigation

react-example

React + Typescript + wallet-selector

Dead simple example integration of GrowthMate ad units.

This repository contains boilerplate code of a vite react-typescript app, plus the default implementation of wallet-selector. Adding our ad units to it straightforward:

  1. (Just once) Copy & paste the Ad component to your project - no modifications required.

  2. Position the ad units on the web page (in this example see AdPage.tsx). The embeds are generated by & can be copied from our website.

    // example ad unit
    <Ad
    	unitId="BADeTNAXK4MgyNsyJ1cZXQ=="
    	format="Small Rectangle"
    />

Note: We provide you with all the necessary code & instructions upon creating an ad unit on our website.

About

Example implementations of a personalized feed and ad units

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors