@@ -106,8 +106,9 @@ const { collections } = useCollections();
106
106
Option | Type | Description
107
107
--------------- | --------- | -------------
108
108
` collections ` | ` array ` | A list of collections available from the STAC catalog. Is ` null ` if collections have not been retrieved.
109
- ` state ` | ` str ` | The status of the request. ` "IDLE" ` before and after the request is sent or received. ` "LOADING" ` when the request is in progress.
109
+ ` state ` | ` str ` | The status of the request. ` "IDLE" ` before and after the request is sent or received. ` "LOADING" ` when the request is in progress.
110
110
` reload ` | ` function ` | Callback function to trigger a reload of collections.
111
+ ` error ` | [ ` Error ` ] ( #error ) | Error information if the last request was unsuccessful. ` undefined ` if the last request was successful.
111
112
112
113
#### Example
113
114
@@ -159,8 +160,10 @@ Option | Type | Description
159
160
160
161
Option | Type | Description
161
162
--------------- | --------- | -------------
162
- ` collection ` | ` object ` | The collection matching the provided ID. Is ` null ` if collection has not been retrieved.
163
- ` state ` | ` str ` | The status of the request. ` "IDLE" ` before and after the request is sent or received. ` "LOADING" ` when the request is in progress.
163
+ ` collection ` | ` object ` | The collection matching the provided ID. Is ` null ` if collection has not been retrieved.
164
+ ` state ` | ` str ` | The status of the request. ` "IDLE" ` before and after the request is sent or received. ` "LOADING" ` when the request is in progress.
165
+ ` reload ` | ` function ` | Callback function to trigger a reload of the collection.
166
+ ` error ` | [ ` Error ` ] ( #error ) | Error information if the last request was unsuccessful. ` undefined ` if the last request was successful.
164
167
165
168
#### Example
166
169
@@ -212,6 +215,8 @@ Option | Type | Description
212
215
--------------- | --------- | -------------
213
216
` item ` | ` object ` | The item matching the provided URL.
214
217
` state ` | ` str ` | The status of the request. ` "IDLE" ` before and after the request is sent or received. ` "LOADING" ` when the request is in progress.
218
+ ` reload ` | ` function ` | Callback function to trigger a reload of the item.
219
+ ` error ` | [ ` Error ` ] ( #error ) | Error information if the last request was unsuccessful. ` undefined ` if the last request was successful.
215
220
216
221
#### Examples
217
222
0 commit comments