React / NextJS

The JavaScript guide works for all Javascript frameworks like React, NextJS, VueJS etc.

Example for NextJS Pages Router (TypeScript / TSX)

_app.tsx
import type { AppProps } from 'next/app'
import '@/styles/globals.css'

import toolbird from '@toolbird/web'

toolbird.init({
	domain: "yourdomain.com"
})

export default function App({ Component, pageProps }: AppProps) {
	return ( 
		<Component {...pageProps} />
	)
}

Last updated