Skip to content

Commit

Permalink
chore(deprecation): deprecate useQuickAccessVisible as it has been mo…
Browse files Browse the repository at this point in the history
…ved to @decky/api
  • Loading branch information
AAGaming00 committed Jul 26, 2024
1 parent d60715b commit 48de892
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/custom-hooks/useQuickAccessVisible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ function getQuickAccessWindow(): Window | null {

/**
* Returns state indicating the visibility of quick access menu.
*
* @deprecated moved to @decky/api
*
* @returns `true` if quick access menu is visible and `false` otherwise.
*
* @example
* import { FC, useEffect } from "react";
* import { useQuickAccessVisible } from "decky-frontend-lib";
* import { useQuickAccessVisible } from "@decky/ui";
*
* export const PluginPanelView: FC<{}> = ({ }) => {
* const isVisible = useQuickAccessVisible();
Expand Down

0 comments on commit 48de892

Please sign in to comment.