@nd-storybook/storybook 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +20 -29
- package/dist/index.d.ts +5 -2
- package/dist/index.es.js +947 -887
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -275,11 +275,14 @@ interface ArticleCardProps {
|
|
|
275
275
|
imageUrl?: string;
|
|
276
276
|
articleType: string;
|
|
277
277
|
heading: string;
|
|
278
|
-
variant?: 'default' | 'de-nieuwe-koers';
|
|
278
|
+
variant?: 'default' | 'de-nieuwe-koers' | 'video';
|
|
279
279
|
isPremium?: boolean;
|
|
280
|
+
href?: string;
|
|
281
|
+
onClick?: (event: react__default.MouseEvent<HTMLAnchorElement>) => void;
|
|
280
282
|
className?: string;
|
|
283
|
+
videoDuration?: string;
|
|
281
284
|
}
|
|
282
|
-
declare const ArticleCard:
|
|
285
|
+
declare const ArticleCard: ({ imageUrl, articleType, heading, variant, isPremium, href, onClick, className, videoDuration, }: ArticleCardProps) => JSX.Element;
|
|
283
286
|
|
|
284
287
|
interface ArticleSliderProps {
|
|
285
288
|
articles: ArticleCardProps[];
|