Components
CollectionView

CollectionView

A collection view is a component that renders a collection based on its status

1 — 25 of 74
1 — 25 of 74

Examples

Error

Something went wrong

Empty

No items yet

Create an item to start selling.

Not found

No results found

Try using different terms or filters.

Unauthorized

Unauthorized access

User profile does not have access to the filtered content. Please contact support.

Required props

status

Represents the status of a collection and indicates what should be rendered

type
ready
error
loading
empty
not-found
unauthorized
default
ready

Optional props

onError

On status error action callback

type
(() => void)
default
null

onEmpty

On status empty action callback

type
(() => void)
default
null

messages

Collection internal messages

type
Partial<{ not-found-heading: string; not-found-description: string; empty-heading: string; empty-description: string; empty-action: string; error-heading: string; error-action: string; unauthorized-heading: string; unauthorized-description: string; }>
default
null