Skip to content

samratjp/maker-enhance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MakerEnhance

React component for Maker Enhance.

Installation

yarn add maker-enhance

or

npm install --save maker-enhance

Usage

import MakerEnhance from 'maker-enhance';

<MakerEnhance user={yourMakerUserIdOrSlug} />

Example

import React from 'react';
import MakerEnhance from 'maker-enhance';

class App extends React.Component {
  render() {
    return (
      <div>
        <MakerEnhance user="linkesch" index="1" />
        <MakerEnhance user="linkesch" index="2" />
      </div>
    );
  }
}

Props

  • user (required) - Your Maker user id or slug
  • index - If you want to render multiple MakerEnhance components on one page, add a unique index prop to each and every one of them so Maker can keep track of multiple instances

About

React component for Maker Enhance

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%