Skip to content

Commit a861d0e

Browse files
committed
fix: 🐛 class should be passed to DsfrHeaderMenuLink
1 parent bb4d8d4 commit a861d0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/DsfrHeader/DsfrHeader.types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export type DsfrHeaderMenuLinkProps = {
2020
* @deprecated Use the prop `to` instead
2121
*/
2222
path?: string
23-
class?: string | Record<string, string> | Array<string | Record<string, string>>
2423
}
2524

2625
export type DsfrHeaderProps = {
@@ -34,7 +33,7 @@ export type DsfrHeaderProps = {
3433
operatorImgSrc?: string
3534
operatorImgStyle?: StyleValue
3635
placeholder?: string
37-
quickLinks?: DsfrHeaderMenuLinkProps[]
36+
quickLinks?: (DsfrHeaderMenuLinkProps & HTMLAttributes)[]
3837
languageSelector?: DsfrLanguageSelectorProps
3938
searchLabel?: string
4039
quickLinksAriaLabel?: string

0 commit comments

Comments
 (0)