react-shields.io
Version:
react-shields.io ===
21 lines (20 loc) • 527 B
TypeScript
import Base, { BaseProps } from '../common/Base';
export interface SizeProps extends BaseProps {
/**
* Github Size
*
* /github/languages/code-size/:user/:repo
* /github/repo-size/:user/:repo
* /github/size/:user/:repo/:path*
*/
type?: 'languages' | 'repo-size' | 'size';
/**
* GitHub file size in bytes
* build/phaser-craft.min.js
*/
path?: string;
}
export default class Size extends Base<SizeProps> {
constructor(props: SizeProps);
getUrl: () => string;
}