decode-vitrine
v1.0.6
Published
Decode's ad banner generator.
Downloads
4
Readme
decode-vitrine
Decode's ad banner generator.
Install
npm install --save decode-vitrine
Or
yarn add decode-vitrine
Props
A list of props and methods available:
| Prop | Description | Default |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| token
| Mandatory - The authentication token used to check the client using the library. | None|
| location
|If the component is being used in a server side rendering environment such as Next.js or Gatsby the window.location object might not be available so this prop is used to determine the current page's location| null |
Usage
import React from 'react';
import Vitrine from 'decode-vitrine';
const Example = () => {
return <Vitrine token="YOUR_TOKEN_HERE" />;
}
Made with ❤️ by Decode