OptionalbatchNumber of items to load per batch (defaults to 25)
OptionaldatasetOptionaldocumentFilter documents by their _type. Can be a single type or an array of types.
OptionalfilterGROQ filter expression to apply to the query
Optional BetaorderingsSorting configuration for the results
OptionalparamsOptionalperspectiveOptionalprojectOptional BetaresourceExplicit resource to use. On an individual operation this overrides any default;
on a SanityConfig it becomes the instance's default resource. Unlike
projectId/dataset, this can also be a media library or canvas resource.
OptionalresourceName of a resource registered via the resources prop on <SanityApp>.
Resolved to a DocumentResource at the React layer.
OptionalsearchText search query to filter results
Configuration options for the useDocuments hook