@storybook/csf 0.1.2--canary.71.a3cacc5.0 → 0.1.2--canary.71.b1f85ff.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -190,7 +190,7 @@ type BaseAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args> = {
|
|
190
190
|
* Asynchronous functions which provide data for a story.
|
191
191
|
* @see [Loaders](https://storybook.js.org/docs/react/writing-stories/loaders)
|
192
192
|
*/
|
193
|
-
loaders?: LoaderFunction<TRenderer, TArgs>[]
|
193
|
+
loaders?: LoaderFunction<TRenderer, TArgs>[] | LoaderFunction<TRenderer, TArgs>;
|
194
194
|
/**
|
195
195
|
* Define a custom render function for the story(ies). If not passed, a default render function by the renderer will be used.
|
196
196
|
*/
|