Skip to content

Show an aviary control component on a React project

Notifications You must be signed in to change notification settings

danielniquet/aviary-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aviary-react

Show an aviary control component on a React project

NPM JavaScript Style Guide

Install

npm install --save aviary-react
yarn add aviary-react

Usage

import React, { Component } from 'react'

import AviaryReact from 'aviary-react'

class Example extends Component {
  onSave = (URL)=>{
    //You receive S3 URL
    console.log(URL)
  }
  render () {
    return (
      <AviaryReact apiKey="myAPIkeyFromCreativeSDK" onSave={this.onSave} file={myFile} />
    )
  }
}

apiKey - Mandatory onSave - to receive the generated URL file - (optional) in case you want to pass a file

License

MIT © danielniquet

About

Show an aviary control component on a React project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published