import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
const imagejpeg = {
    key: 'image/jpeg',
    type: 'image/jpeg',
    viewComponet: (props)=>{
        const { file, prefixCls } = props;
        return file.imageUrl && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("img", {
            src: "".concat(file.imageUrl).concat(file.thumbnailRule || ''),
            style: {
                width: '100%',
                height: '100%'
            },
            alt: file.title,
            className: "".concat(prefixCls, "-list-item-image")
        });
    },
    checkedComponent: (props)=>{
        const { file } = props;
        return file.imageUrl && /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)("img", {
            ...props,
            src: "".concat(file.imageUrl).concat(file.thumbnailRule || ''),
            alt: file.title,
            style: {
                width: '90%',
                height: 'auto',
                display: 'flex',
                justifyContent: 'center',
                alignItems: 'center'
            }
        });
    }
};
export { imagejpeg };
