vk-apps-buttons
v1.0.0
Published
small react component for your vk mini apps
Downloads
2
Readme
npm install --save vk-apps-button
Usage
import React, { Component } from 'react'
import VKMiniAppsButton from 'vk-apps-button'
export default class App extends Component {
render () {
return (
<div>
<VKMiniAppsButton
url={'https://vk.com/aviatickets'}
title={'Поиск авиабилетов'}
description={'Экономь на авиабилетах!'}
style={{ margin : 20 }}
icon={'https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/VK.com-logo.svg/768px-VK.com-logo.svg.png'}
/>
</div>
)
}
}