UNPKG

react-contributors

Version:

A lightweight React component for displaying GitHub repository contributors

10 lines (9 loc) 423 B
import { default as React } from 'react'; import { ContributorsProps, ContributorsState } from './types'; declare class Contributors extends React.Component<ContributorsProps, ContributorsState> { constructor(props: ContributorsProps); loadContributors(owner: string, repo: string): Promise<void>; componentDidMount(): void; render(): import("react/jsx-runtime").JSX.Element; } export default Contributors;