@uiw/react-shields
Version:
Shields.io for react component, Quality metadata badges for open source projects.
15 lines (14 loc) • 577 B
TypeScript
import React from 'react';
import type { AnchorHTMLAttributes, ImgHTMLAttributes } from 'react';
export interface InternalProps extends ImgHTMLAttributes<HTMLImageElement> {
platform?: 'github' | 'coveralls' | 'npm';
type?: string;
user?: string;
repo?: string;
base?: string;
imgSrc?: string;
href?: HTMLAnchorElement['href'];
children?: React.ReactNode;
anchor?: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
}
export declare const Internal: React.ForwardRefExoticComponent<InternalProps & React.RefAttributes<HTMLImageElement>>;