UNPKG

react-shields.io

Version:

react-shields.io ===

18 lines (17 loc) 464 B
import { Component } from 'react'; export interface BaseProps { platform?: 'github'; type?: string; label?: string; user?: string; repo?: string; base?: string; } export interface BaseState extends BaseProps { } export default class Base<T> extends Component<BaseProps & T, BaseState & T> { static defaultProps: BaseProps; constructor(props: BaseProps & T, state?: BaseProps); getUrl: () => string; render(): JSX.Element; }