0.1.0 • Published 6 years ago

behance-react v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Behance React Render

The goal of this project is to start providing ready built components to render out various elements from Behance's API.

If you are looking instead for a way to pull data down from behance, check out my Behance API project instead

Installation

npm install behance-react -save

... or yarn

Projects

The first phase of the project is to easily render out a project in its entirety once it has been pulled down from Behance.

Basic Usage

import { renderProject } from 'behance-react';

class Project extends Component {
  /* ... something more ... */
  render() {
    const { project } = this.state; // Get behance project data from somewhere
    const projectRender = renderProject(project);
    return (
      <div>
        {projectRender}
      </div>
    );
  }
}