Skip to content

Commit

Permalink
fix: πŸ› class should be passed to DsfrHeaderMenuLink
Browse files Browse the repository at this point in the history
  • Loading branch information
laruiss committed Oct 21, 2024
1 parent bb4d8d4 commit a861d0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/DsfrHeader/DsfrHeader.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export type DsfrHeaderMenuLinkProps = {
* @deprecated Use the prop `to` instead
*/
path?: string
class?: string | Record<string, string> | Array<string | Record<string, string>>
}

export type DsfrHeaderProps = {
Expand All @@ -34,7 +33,7 @@ export type DsfrHeaderProps = {
operatorImgSrc?: string
operatorImgStyle?: StyleValue
placeholder?: string
quickLinks?: DsfrHeaderMenuLinkProps[]
quickLinks?: (DsfrHeaderMenuLinkProps & HTMLAttributes)[]
languageSelector?: DsfrLanguageSelectorProps
searchLabel?: string
quickLinksAriaLabel?: string
Expand Down

0 comments on commit a861d0e

Please sign in to comment.