fix(theme): Footer Column/Link should merge provided className (#10796)

This commit is contained in:
Sébastien Lorber 2024-12-26 12:46:43 +01:00 committed by GitHub
parent e5ed9a3894
commit 37184e581d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 18 deletions

View file

@ -67,12 +67,19 @@ export type PrismConfig = {
export type FooterLinkItem = {
label?: string;
className?: string;
to?: string;
href?: string;
html?: string;
prependBaseUrlToHref?: string;
} & {[key: string]: unknown};
export type FooterColumnItem = {
title: string | null;
className?: string;
items: FooterLinkItem[];
};
export type FooterLogo = BaseLogo;
export type FooterBase = {
@ -82,10 +89,7 @@ export type FooterBase = {
};
export type MultiColumnFooter = FooterBase & {
links: {
title: string | null;
items: FooterLinkItem[];
}[];
links: FooterColumnItem[];
};
export type SimpleFooter = FooterBase & {