Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 956 Bytes

File metadata and controls

21 lines (15 loc) · 956 Bytes

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.