mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-25 14:07:50 +02:00
fix(theme): Footer Column/Link should merge provided className (#10796)
This commit is contained in:
parent
e5ed9a3894
commit
37184e581d
6 changed files with 27 additions and 18 deletions
|
@ -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 & {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue