Skip to content

Commit 2031e4f

Browse files
committed
JSDoc formatting
1 parent 8748821 commit 2031e4f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface ProviderProps {
77
}
88

99
/**
10-
* See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#provider|Provider}
10+
* See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#provider Provider}
1111
*
1212
* Returns a React context provider with a ResizeObserver instance as its value.
1313
* Uses `window.ResizeObserver` to construct the instance if no `ponyfill` prop is provided.

src/createResizeObserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ExtendedResizeObserverEntry } from './ExtendedResizeObserverEntry'
22

33
/**
44
* Creates a new ResizeObserver instance that works with the
5-
* {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#useresizeobserver|useResizeObserver}
5+
* {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#useresizeobserver useResizeObserver}
66
* hook.
77
* @example
88
* const resizeObserverInstance = createResizeObserver(window.ResizeObserver);

src/useResizeObserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const boxOptions = {
1010
};
1111

1212
/**
13-
* See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#useresizeobserver|useResizeObserver}
13+
* See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main/docs/api.md#useresizeobserver useResizeObserver}
1414
*
1515
* Returns a React callback ref to attach to a DOM element. It also returns
1616
* a resize observation entry every time the observed element changes size.

0 commit comments

Comments
 (0)