MCPcopy
hub / github.com/github/docs / Props

Interface Props

components/search/SearchError.tsx:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { useTranslation } from 'components/hooks/useTranslation'
5
6interface Props {
7 error: Error
8}
9
10export function SearchError({ error }: Props) {
11 const { t } = useTranslation('search')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected