fix(SW-1446): optionally render empty state

This commit is contained in:
Michael Zetterberg
2025-04-08 04:31:58 +02:00
parent 2953b3571d
commit fd0d4ca174
5 changed files with 35 additions and 5 deletions

View File

@@ -3,4 +3,5 @@ import type { ClientProps } from "./client"
export type ResultsProps = Pick<ClientProps, "onAction"> & {
results: NonNullable<ClientProps["results"]>
"aria-label": string
renderEmptyState?: boolean
}