Extra APIs for Sanity.io.
npm install sanity-extra
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
defaultOrdering: SortOrderBy[]
filter: string
params: Record<string, unknown>
sortOrder?: SortOrder
apiVersion?: string
Example:
import {useDocumentList} from 'sanity-extra'
const list = useDocumentList({
filter: `*[_type == 'post']`,
})
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
TODO: documentation & examples
An empty record. This is useful when optimizing React components.
MIT © Marius Lundgård