@aic-kits/react 0.14.3 → 0.14.5
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/components/Art/ImageArt.d.ts +1 -1
- package/dist/components/Art/types.d.ts +6 -1
- package/dist/index.cjs +40 -40
- package/dist/index.js +1236 -1244
- package/package.json +2 -2
|
@@ -13,4 +13,4 @@ import { ImageArtProps } from './types';
|
|
|
13
13
|
* @param {string} [props.'data-testid'] - Test ID for the container Box.
|
|
14
14
|
* @returns {React.ReactElement} The rendered ImageArt component.
|
|
15
15
|
*/
|
|
16
|
-
export declare const ImageArt: ({ art, width, height, style, "data-testid": testId, alt, fallback, ...boxProps }: ImageArtProps) => React.ReactElement;
|
|
16
|
+
export declare const ImageArt: ({ art, width, height, style, "data-testid": testId, alt, fallback, useSkeleton, ...boxProps }: ImageArtProps) => React.ReactElement;
|
|
@@ -79,7 +79,12 @@ export interface ImageArtProps extends BaseArtProps, WidthHeightProps {
|
|
|
79
79
|
*/
|
|
80
80
|
art: string;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Use skeleton loader. This should be disabled if SEO is a concern.
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
85
|
+
useSkeleton?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Alternative text. Provide this if SEO is a concern.
|
|
83
88
|
*/
|
|
84
89
|
alt?: string;
|
|
85
90
|
/**
|