File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ const boxOptions = {
3232} ;
3333
3434/**
35- * See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/master /docs/api.md#usebreakpoints| useBreakpoints}
35+ * See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main /docs/api.md#usebreakpoints useBreakpoints}
3636 *
3737 * Pass in an options object with at least one of the following properties:
3838 * - `widths`: objects with width breakpoints as keys and anything as their values;
3939 * - `heights`: objects with height breakpoints as keys and anything as their values.
4040 *
4141 * You may also pass the following additional optional properties:
4242 * - `box`: the box to measure on the observed element, one of `'border-box' | 'content-box' | 'device-pixel-content-box'`;
43- * - `fragment`: index of {@link https://github.com/w3c/csswg-drafts/pull/4529| fragment} of the observed element to measure (default `0`).
43+ * - `fragment`: index of {@link https://github.com/w3c/csswg-drafts/pull/4529 fragment} of the observed element to measure (default `0`).
4444 *
4545 * Optionally pass in a `ResizeObserverEntry` as the second argument to override fetching one from context.
4646 *
Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ import { useContext } from 'react';
33import { Context } from './Context' ;
44
55/**
6- * See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/master /docs/api.md#useresizeobserverentry| useResizeObserverEntry}
6+ * See API Docs: {@linkcode https://github.com/envato/react-breakpoints/blob/main /docs/api.md#useresizeobserverentry useResizeObserverEntry}
77 *
88 * Returns the `ResizeObserverEntry` from the nearest Context.
99 *
1010 * You can also pass in a `ResizeObserverEntry`, which will be returned verbatim.
1111 * You will almost certainly never need to do this, but because you may not
1212 * conditionally call hooks, it can be useful to pass in the `ResizeObserverEntry`
1313 * you receive from
14- * {@linkcode https://github.com/envato/react-breakpoints/blob/master /docs/api.md#useresizeobserver| useResizeObserver}
14+ * {@linkcode https://github.com/envato/react-breakpoints/blob/main /docs/api.md#useresizeobserver useResizeObserver}
1515 * in the same component instead of relying on the value from the nearest Context.
1616 *
1717 * This is allowed to facilitate the abstraction in
18- * {@linkcode https://github.com/envato/react-breakpoints/blob/master /docs/api.md#usebreakpoints| useBreakpoints}
18+ * {@linkcode https://github.com/envato/react-breakpoints/blob/main /docs/api.md#usebreakpoints useBreakpoints}
1919 * which is used in the
20- * {@linkcode https://github.com/envato/react-breakpoints/blob/master /docs/api.md#observe| Observe}
20+ * {@linkcode https://github.com/envato/react-breakpoints/blob/main /docs/api.md#observe Observe}
2121 * component.
2222 *
2323 * @example
You can’t perform that action at this time.
0 commit comments