React component for Maker Enhance.
yarn add maker-enhance
or
npm install --save maker-enhance
import MakerEnhance from 'maker-enhance';
<MakerEnhance user={yourMakerUserIdOrSlug} />
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>
);
}
}
- 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