Skip to content

Commit 12dc6f6

Browse files
committed
Rename missnamed token
1 parent 86ea7a5 commit 12dc6f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Display.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ArtworkSystemSvg from "./dsfr/artwork/system.svg";
1111
import { getAssetUrl } from "./lib/tools/getAssetUrl";
1212
import type { HeaderProps } from "./Header";
1313

14-
export type Display = {
14+
export type DisplayProps = {
1515
className?: string;
1616
};
1717

@@ -36,7 +36,7 @@ export const headerQuickAccessDisplay: HeaderProps.QuickAccessItem.Button = {
3636

3737
/** @see <https://react-dsfr-components.etalab.studio/?path=/docs/components-display> */
3838
export const Display = memo(
39-
forwardRef<HTMLDialogElement, Display>((props, ref) => {
39+
forwardRef<HTMLDialogElement, DisplayProps>((props, ref) => {
4040
const { className, ...rest } = props;
4141

4242
assert<Equals<keyof typeof rest, never>>();

0 commit comments

Comments
 (0)