@sanity/sanity-plugin-async-list
3.0.63.0.7
dist/index.d.ts~
dist/index.d.tsModified+4−4
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -74,9 +74,9 @@
* - Cache fetchData call w/o arguments
*
* @public
*/
-declare function AsyncList(props: AsyncListInputProps): JSX.Element;
+export declare function AsyncList(props: AsyncListInputProps): JSX.Element;
/**
* Create a Sanity string input component bound to the given async-list
* `options`. Use this for the `components.input` slot when wiring the input
* manually (i.e. without the `asyncList()` plugin):
@@ -99,9 +99,9 @@
* ```
*
* @public
*/
-declare function createAsyncListInput(options: AsyncListInputOptions): (props: StringInputProps) => JSX.Element;
+export declare function createAsyncListInput(options: AsyncListInputOptions): (props: StringInputProps) => JSX.Element;
/**
* Usage in `sanity.config.ts` (or .js)
*
* ```ts
@@ -113,7 +113,7 @@
* plugins: [asyncList()],
* })
* ```
*/
-declare const asyncList: import("sanity").Plugin<AsyncListPluginConfig>;
-export { AsyncList, type AsyncListInputOptions, type AsyncListInputProps, type AsyncListPluginConfig, asyncList, createAsyncListInput };
+export declare const asyncList: import("sanity").Plugin<AsyncListPluginConfig>;
+export type { AsyncListInputOptions, AsyncListInputProps, AsyncListPluginConfig };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file