mirror of
https://github.com/ritz078/transform.git
synced 2026-11-22 09:01:31 +03:00
added transform.tools
This commit is contained in:
1 parent
9a681af0a0
commit
221f41486b
2 files changed
+12
-6
No files matched your search
@@ -93,11 +93,17 @@ export const SvgConverter: React.FunctionComponent<SvgConverterProps> = ({
|
||||
</Badge>
|
||||
</Pane>
|
||||
<Pane display={"flex"} flex={1} position="relative">
|
||||
<img
|
||||
style={{ flex: 1, borderLeft: "1px solid #eee", width: "100%" }}
|
||||
src={svgToDataUrl(optimizedValue)}
|
||||
alt="optimized"
|
||||
/>
|
||||
{optimizedValue && (
|
||||
<img
|
||||
style={{
|
||||
flex: 1,
|
||||
borderLeft: "1px solid #eee",
|
||||
width: "100%"
|
||||
}}
|
||||
src={svgToDataUrl(optimizedValue)}
|
||||
alt="optimized"
|
||||
/>
|
||||
)}
|
||||
|
||||
<Badge
|
||||
position="absolute"
|
||||
|
||||
Reference in new issue
Block a user