Props for the RepositoryList component

RepositoryListProps

interface RepositoryListProps {
    "data-testid"?: string;
    error?: Error;
    loading: boolean;
    owner: string;
    repositories: Repository[];
}

Properties

"data-testid"?: string

Test ID for the repository list

error?: Error

Error object if any error occurred

loading: boolean

Loading state indicator

owner: string

Repository owner's username

repositories: Repository[]

Array of repository data from GitHub