@aic-kits/react 0.14.0 → 0.14.2

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.
@@ -1,3 +1,16 @@
1
1
  import { default as React } from 'react';
2
2
  import { ImageArtProps } from './types';
3
+ /**
4
+ * @component ImageArt
5
+ * @description Renders an image art element. It displays a Skeleton loader
6
+ * while the image is loading and handles potential loading errors.
7
+ *
8
+ * @param {ImageArtProps} props - The props for the component.
9
+ * @param {string} props.art - The URL of the image source.
10
+ * @param {ResponsiveValue<SizeValue>} [props.width] - The width of the art element. Uses defaultSize if not provided.
11
+ * @param {ResponsiveValue<SizeValue>} [props.height] - The height of the art element. Uses defaultSize if not provided.
12
+ * @param {React.CSSProperties} [props.style] - Custom CSS styles for the container Box.
13
+ * @param {string} [props.'data-testid'] - Test ID for the container Box.
14
+ * @returns {React.ReactElement} The rendered ImageArt component.
15
+ */
3
16
  export declare const ImageArt: ({ art, width, height, style, "data-testid": testId, ...rest }: ImageArtProps) => React.ReactElement;