Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 0e5f624

Browse files
docs(c-media-query): add JSDoc to useQuery
1 parent 7af2bd0 commit 0e5f624

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/c-media-query/src/use-query.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export interface UseQueryProps {
1111
above?: string
1212
}
1313

14+
/**
15+
* Returns a media query value based on theme breakpoint or given query string.
16+
*/
1417
export function useQuery(props: UseQueryProps) {
1518
const { breakpoint = "", below, above } = props
1619

0 commit comments

Comments
 (0)