// fake modules to render empty <canvas /> on SSR side without useless JS, import.meta, webworker, ES modules
import React from 'react';
import { absoluteStyle, defaultStyle } from './style';
import { blurhashDefaultProps, blurhashCanvasDefaultProps } from './props';
export const BlurhashCanvas = ({ loading, hash, width, height, punch, imageRef, ...props }) => (React.createElement("canvas", { ...props, height: height, width: width }));
BlurhashCanvas.defaultProps = blurhashCanvasDefaultProps;
export const Blurhash = ({ loading, hash, height, width, punch, resolutionX, resolutionY, style, imageRef, ...props }) => (React.createElement("div", { ...props, style: { ...defaultStyle, width, height, ...style } },
    React.createElement(BlurhashCanvas, { loading: loading, hash: hash, height: resolutionY, width: resolutionX, punch: punch, style: absoluteStyle, imageRef: imageRef })));
Blurhash.defaultProps = blurhashDefaultProps;
//# sourceMappingURL=index.node.js.map