mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-12-27 07:33:51 +01:00
18 lines
607 B
JavaScript
18 lines
607 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
import React from 'react';
|
|
import {isMultiColumnFooterLinks} from '@docusaurus/theme-common';
|
|
import FooterLinksMultiColumn from '@theme/Footer/Links/MultiColumn';
|
|
import FooterLinksSimple from '@theme/Footer/Links/Simple';
|
|
export default function FooterLinks({links}) {
|
|
return isMultiColumnFooterLinks(links) ? (
|
|
<FooterLinksMultiColumn columns={links} />
|
|
) : (
|
|
<FooterLinksSimple links={links} />
|
|
);
|
|
}
|