@clayui/shared
Advanced tools
Comparing version 3.45.0 to 3.47.0
import * as React from 'react'; | ||
export declare type TInternalStateOnChange<T> = ((val: T) => void) | ((val?: T) => void) | React.Dispatch<React.SetStateAction<T>>; | ||
interface IArgs<T> { | ||
initialValue?: T; | ||
initialValue?: T | (() => T); | ||
onChange?: TInternalStateOnChange<T>; | ||
@@ -6,0 +6,0 @@ value?: T; |
{ | ||
"name": "@clayui/shared", | ||
"version": "3.45.0", | ||
"version": "3.47.0", | ||
"description": "ClayShared component", | ||
@@ -43,3 +43,3 @@ "license": "BSD-3-Clause", | ||
], | ||
"gitHead": "82d19a7d31a21a6bb4ac92a0d709b32fc19502e9" | ||
"gitHead": "bc35db722c6045d363bb628ce6f66edf66f47819" | ||
} |
@@ -14,3 +14,3 @@ /** | ||
interface IArgs<T> { | ||
initialValue?: T; | ||
initialValue?: T | (() => T); | ||
onChange?: TInternalStateOnChange<T>; | ||
@@ -17,0 +17,0 @@ value?: T; |
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
80956