@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
17 lines (15 loc) • 822 B
TypeScript
import { Breakpoint, System } from "../../core/system/index.types.js";
import { ResponsiveObject } from "../../core/css/index.types.js";
import "../../core/index.js";
//#region src/hooks/use-breakpoint/use-breakpoint-value.d.ts
/**
* `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 https://yamada-ui.com/docs/hooks/use-breakpoint-value
*/
declare const useBreakpointValue: <Y>(values: ResponsiveObject<Y, false>) => Y;
declare const getBreakpointValue: <Y>(values?: ResponsiveObject<Y, false>) => (system: System, breakpoint: Breakpoint) => Y;
//#endregion
export { getBreakpointValue, useBreakpointValue };
//# sourceMappingURL=use-breakpoint-value.d.ts.map