0.1.9-alpha.3 • Published 5 years ago

@zeus-platform/load v0.1.9-alpha.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

@zeus-platform/load

The purpose of the ZeusLoader component is to create and initialize the Zeus manager. This component interfaces with the hosted Zeus libraries to control bidding, key-value-pair management, as well as the delivery and display of creatives.

This component should be used in conjunction with the ZeusAd component, which will embed the advertisement element in to a given React application.

Usage

In simple cases, this module can be used only with a simple url prop.

import { ZeusLoader } from "@zeus-platform/load";

const PageTemplate = (props) => (
  <Page {...props}>
    <ZeusLoader url="https://test.zeustechnology.com" />
  </Page>
)

If you have a simple case, but wish to provide a list of key-value pairs, simply provide them using the keyValuePairs prop.

import { ZeusLoader } from "@zeus-platform/load";

const PageTemplate = (props) => (
 <Page {...props}>
   <ZeusLoader keyValuePairs={[{key:"value}]} url="https://test.zeustechnology.com" />
 </Page>
)
0.1.9-alpha.3

5 years ago

0.1.9-alpha.2

5 years ago

0.1.9-alpha.0

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago