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

@yamada-ui/use-breakpoint

Package Overview
Dependencies
Maintainers
1
Versions
870
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/use-breakpoint - npm Package Compare versions

Comparing version 0.2.29 to 1.0.0

12

dist/index.d.ts
import { ResponsiveObject } from '@yamada-ui/core';
/**
* `useBreakpoint` is a custom hook that returns the current breakpoint.
* This hook monitors changes in the window size and returns the appropriate value.
*
* @see Docs https://yamada-ui.com/hooks/use-breakpoint
*/
declare const useBreakpoint: () => "sm" | "md" | "lg" | "xl" | "2xl" | (string & {});
/**
* `useBreakpointValue` is a custom hook that returns the value of the current breakpoint from the provided object.
* This hook monitors changes in the window size and returns the appropriate value.
*
* @see Docs https://yamada-ui.com/hooks/use-breakpoint-value
*/
declare const useBreakpointValue: <T extends unknown>(values: ResponsiveObject<T>) => T;
export { useBreakpoint, useBreakpointValue };

7

package.json
{
"name": "@yamada-ui/use-breakpoint",
"version": "0.2.29",
"version": "1.0.0",
"description": "Yamada UI useBreakpoint custom hook",

@@ -18,2 +18,3 @@ "keywords": [

},
"homepage": "https://yamada-ui.com",
"repository": {

@@ -28,4 +29,4 @@ "type": "git",

"dependencies": {
"@yamada-ui/core": "0.15.4",
"@yamada-ui/utils": "0.5.1"
"@yamada-ui/core": "1.0.0",
"@yamada-ui/utils": "1.0.0"
},

@@ -32,0 +33,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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