Skip to content

Commit

Permalink
chore: fix typing of HeadingGroup component
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolijn authored and Robbert committed Sep 16, 2024
1 parent 14e8c65 commit 17ccfd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InlineHeadingGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import clsx from 'clsx';
import React, { type PropsWithChildren, type ReactNode } from 'react';
import React, { type HTMLAttributes, type PropsWithChildren, type ReactNode } from 'react';
import style from './InlineHeadingGroup.module.css';

export interface InlineHeadingGroupProps {
export interface InlineHeadingGroupProps extends HTMLAttributes<HTMLElement> {
level?: number;
suffix?: ReactNode;
}
Expand Down

0 comments on commit 17ccfd0

Please sign in to comment.