Functions
useGitHubPinnedRepos
- useGitHubPinnedRepos(username: string): { data: undefined | (GitHubPinnedRepo & { url: string })[]; error?: Error; isValidating: boolean; mutate: KeyedMutator<GitHubPinnedRepo[]> }
Parameters
Returns { data: undefined | (GitHubPinnedRepo & { url: string })[]; error?: Error; isValidating: boolean; mutate: KeyedMutator<GitHubPinnedRepo[]> }
data: undefined | (GitHubPinnedRepo & { url: string })[]
Optional error?: Error
isValidating: boolean
useGitHubUser
- useGitHubUser(username: string): SWRResponse<GitHubUser, Error>
Parameters
Returns SWRResponse<GitHubUser, Error>
Get the GitHub Pinned Repositories of an user