UNPKG

react-shields.io

Version:

react-shields.io ===

33 lines (32 loc) 1.09 kB
import Base, { BaseProps } from '../common/Base'; export interface ActivityProps extends BaseProps { /** * Github Downloads * * `/github/downloads/:user/:repo/total` * GitHub All Releases: GitHub All Releases badge * * `/github/downloads/:user/:repo/:tag/total` * GitHub Releases: GitHub Releases badge * * `/github/downloads-pre/:user/:repo/:tag/total` * GitHub Pre-Releases: GitHub Pre-Releases badge * * `/github/downloads/:user/:repo/:tag/total` * GitHub Releases (by Release): GitHub Releases (by Release) badge * * `/github/downloads/:user/:repo/:tag/:path` * GitHub Releases (by Asset): GitHub Releases (by Asset) badge * * `/github/downloads-pre/:user/:repo/:tag/:path` * GitHub Pre-Releases (by Asset): GitHub Pre-Releases (by Asset) badge */ type?: 'downloads' | 'downloads-pre'; tag?: string; path?: string; total?: boolean; } export default class Activity extends Base<ActivityProps> { constructor(props: ActivityProps); getUrl: () => string; }