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

@clayui/shared

Package Overview
Dependencies
Maintainers
15
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/shared - npm Package Compare versions

Comparing version 3.45.0 to 3.47.0

2

lib/useInternalState.d.ts
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;

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