@arkyn/components 1.3.143 → 1.3.144

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,6 @@ function HasFileContent(props) {
15
15
  };
16
16
  input.click();
17
17
  }
18
- return (_jsxs("div", { className: "arkynImageUploadHasFileContent", style: { backgroundImage: `url(${filePath})` }, children: [reSendImage && (_jsx(Tooltip, { orientation: "bottom", text: "Reenviar imagem", children: _jsx(IconButton, { type: "button", "aria-label": "resend image", variant: "outline", scheme: "danger", size: "sm", isLoading: isLoading, onClick: reSendImage, icon: RefreshCw }) })), _jsx(Button, { isLoading: isLoading, onClick: handleClick, variant: "outline", size: "sm", type: "button", children: changeImageButtonText })] }));
18
+ return (_jsxs("div", { className: "arkynImageUploadHasFileContent", style: { backgroundImage: `url("${filePath}")` }, children: [reSendImage && (_jsx(Tooltip, { orientation: "bottom", text: "Reenviar imagem", children: _jsx(IconButton, { type: "button", "aria-label": "resend image", variant: "outline", scheme: "danger", size: "sm", isLoading: isLoading, onClick: reSendImage, icon: RefreshCw }) })), _jsx(Button, { isLoading: isLoading, onClick: handleClick, variant: "outline", size: "sm", type: "button", children: changeImageButtonText })] }));
19
19
  }
20
20
  export { HasFileContent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/components",
3
- "version": "1.3.143",
3
+ "version": "1.3.144",
4
4
  "main": "./dist/bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Lucas Gonçalves",
@@ -31,7 +31,7 @@ function HasFileContent(props: HasFileContentProps) {
31
31
  return (
32
32
  <div
33
33
  className="arkynImageUploadHasFileContent"
34
- style={{ backgroundImage: `url(${filePath})` }}
34
+ style={{ backgroundImage: `url("${filePath}")` }}
35
35
  >
36
36
  {reSendImage && (
37
37
  <Tooltip orientation="bottom" text="Reenviar imagem">