tenq-action-subscriber
v1.0.0
Published
Made with create-react-library
Downloads
1
Readme
tenq-action-subscriber
Made with create-react-library
Install
npm install --save tenq-action-subscriber
or
yarn add tenq-action-subscriber
Usage
import React from 'react'
import 'tenq-action-subscriber/dist/index.css'
import TenqActionSubscribe from "tenq-action-subscriber";
const App = () => {
const host = 'https://localhost';
const token = '';
const subs = (event) => {
console.log(event)
}
return <div>
<p>Подписка на акцию в vkontakte</p>
<TenqActionSubscribe
provider={'vkontakte'}
label={'Участвовать c VK'}
host={host} token={token}
promo_id={3}
onSubscribe={subs}
/>
</div>
}
export default App
License
MIT © taraschubarko