@hybr1d-tech/charizard 0.6.39 → 0.6.41
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/AsyncImage/AsyncImage.d.ts +14 -0
- package/dist/components/AsyncImage/index.d.ts +1 -0
- package/dist/components/AsyncImage/types.d.ts +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/select-v2/CreatableSelect.d.ts +0 -0
- package/dist/hybr1d-ui.js +3515 -3323
- package/dist/hybr1d-ui.umd.cjs +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ImageProps } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* AsyncImage component that displays an image asynchronously.
|
|
5
|
+
* While the image is loading, it shows a skeleton loader.
|
|
6
|
+
*
|
|
7
|
+
* @param {Object} props - The image properties object.
|
|
8
|
+
* @param {string} props.src - The source URL of the image.
|
|
9
|
+
* @param {string} props.alt - The alt text for the image.
|
|
10
|
+
* @param {string} [props.className] - Additional CSS classes for styling the image and skelton.
|
|
11
|
+
* @param {React.ImgHTMLAttributes<HTMLImageElement>} props - Additional props for the img element.
|
|
12
|
+
* @returns {JSX.Element} The rendered component.
|
|
13
|
+
*/
|
|
14
|
+
export declare function AsyncImage({ src, alt, className, ...props }: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AsyncImage } from './AsyncImage';
|
|
File without changes
|