Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-konva-utils

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-konva-utils - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

13

es/html.d.ts
import Konva from 'konva';
import { PropsWithChildren } from 'react';
type TransformAttrs = {
import { HTMLAttributes, PropsWithChildren } from 'react';
export type HtmlTransformAttrs = {
x: number;

@@ -12,9 +12,8 @@ y: number;

};
type Props = PropsWithChildren<{
export type HtmlProps = PropsWithChildren<{
groupProps?: Konva.ContainerConfig;
divProps?: any;
divProps?: HTMLAttributes<HTMLDivElement>;
transform?: boolean;
transformFunc?: (attrs: TransformAttrs) => TransformAttrs;
transformFunc?: (attrs: HtmlTransformAttrs) => HtmlTransformAttrs;
}>;
export declare const Html: ({ children, groupProps, divProps, transform, transformFunc, }: Props) => JSX.Element;
export {};
export declare const Html: ({ children, groupProps, divProps, transform, transformFunc, }: HtmlProps) => JSX.Element;

@@ -1,3 +0,3 @@

export { Html } from './html';
export * from './html';
export { Portal } from './portal';
export { useImage } from './use-image';

@@ -1,3 +0,3 @@

export { Html } from './html';
export * from './html';
export { Portal } from './portal';
export { useImage } from './use-image';
{
"name": "react-konva-utils",
"version": "0.3.1",
"version": "0.3.2",
"description": "Useful components and hooks for react-konva",

@@ -5,0 +5,0 @@ "author": "Anton Lavrenov",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc