@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
14 lines • 569 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import React from 'react';
import { useGenericComponents } from '../../provider/genericComponents/genericComponentsProvider';
import { ImageStandAlone } from './imageStandAlone';
const ImageComponent = (props, ref) => {
const { IMAGE: GenericImageType } = useGenericComponents();
return _jsx(ImageStandAlone, { ...props, ref: ref, component: GenericImageType });
};
/**
* @description
* Image component to load images
*/
export const Image = React.forwardRef(ImageComponent);
//# sourceMappingURL=image.js.map