0.0.4 • Published 7 years ago

vue-github-lawn v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

vue-github-lawn

A github lawn Vue component, Compatible with Vue 2.x

Install

npm install vue-github-lawn
import GithubLawn from 'vue-github-lawn'

Vue.component('my-component', {
    components: {
        GithubLawn
    }
});

Usage

<github-lawn :data="data" :last="last" :unit="'contributions'"></github-lawn>

Avaliable props

PropTypeDefaultDescription
dataArray[]Input data. The data must be sorted latest. example 2, 5, 8
lastStringnullInput latest date.
unitStringcontributionsTooltip message.
weekNumber53column size.
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago