Component docs
Loading
import { SearchResults } from "@pixxl-tools/components";
// In Server Components:
import { SearchResults } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
count | number | — | — |
query | string | — | — |
empty | ReactNode | — | — |
countnumber
querystring
emptyReactNode
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<SearchResults count={2} query="canvas" />