@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
15 lines (13 loc) • 646 B
TypeScript
import { ResponsiveObject } from "../../core/css/index.types.js";
import "../../core/index.js";
import * as react74 from "react";
//#region src/hooks/use-breakpoint/use-breakpoint-state.d.ts
/**
* `useBreakpointState` is a custom hook that takes a responsive object as an initial state and returns a state corresponding to the current breakpoint.
*
* @see https://yamada-ui.com/docs/hooks/use-breakpoint-state
*/
declare const useBreakpointState: <Y>(initialState: ResponsiveObject<Y, false>) => [Y, react74.Dispatch<react74.SetStateAction<Y>>];
//#endregion
export { useBreakpointState };
//# sourceMappingURL=use-breakpoint-state.d.ts.map