@particle-academy/fancy-code 0.13.0 → 0.14.0
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1817,6 +1817,8 @@ function FileViewer({
|
|
|
1817
1817
|
}
|
|
1818
1818
|
if (resolved.kind === "media") {
|
|
1819
1819
|
const { className: mediaClassName, ...restMediaProps } = mediaProps ?? {};
|
|
1820
|
+
restMediaProps.imageProps = { frame: true, frameProps, ...restMediaProps.imageProps };
|
|
1821
|
+
restMediaProps.pdfProps = { frame: true, frameProps, ...restMediaProps.pdfProps };
|
|
1820
1822
|
const fill = resolved.mediaKind !== "audio";
|
|
1821
1823
|
return /* @__PURE__ */ jsx(
|
|
1822
1824
|
"div",
|