react-github-buttons
Version:
React Components for dynamic buttons for github repo's star, fork etc.
18 lines (17 loc) • 415 B
TypeScript
/// <reference types="react" />
/**
* @function Sponsor
*/
import * as PropTypes from 'prop-types';
export interface IPropTypes {
owner: string;
repo: string;
}
declare function Sponsor(props: IPropTypes): JSX.Element;
declare namespace Sponsor {
var propTypes: {
owner: PropTypes.Validator<string>;
repo: PropTypes.Validator<string>;
};
}
export default Sponsor;