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