frets-styles-generator
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -22,3 +22,3 @@ var __defProp = Object.defineProperty; | ||
type hFn<T> = ( | ||
export type hFn<T> = ( | ||
children: Array<ReactNode | AllHTMLAttributes<T>> | ||
@@ -313,3 +313,3 @@ ) => ReactElement; | ||
} | ||
export function $onClick<T>(fn: React.MouseEventHandler<T>) { | ||
export function $onClick(fn: React.MouseEventHandler<T>) { | ||
return (child: BaseStyles, ...children: BaseStyleArgs<T>) => { | ||
@@ -332,3 +332,3 @@ const firstChild = children[0] | ||
export function $formOnSubmit<T>(fn: (e?: React.FormEvent<any>) => void) { | ||
export function $formOnSubmit(fn: (e?: React.FormEvent<any>) => void) { | ||
return $$('form').injectProps({ | ||
@@ -335,0 +335,0 @@ onSubmit: (e) => { |
{ | ||
"name": "frets-styles-generator", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Tool that generates a Typescript class for hyperscript functions based on a CSS file", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8268904