/** * 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, {type ReactNode} from 'react'; import clsx from 'clsx'; import LinkItem from '@theme/Footer/LinkItem'; import type {Props} from '@theme/Footer/Links/Simple'; function Separator() { return ยท; } function SimpleLinkItem({item}: {item: Props['links'][number]}) { return item.html ? ( ) : ( ); } export default function FooterLinksSimple({links}: Props): ReactNode { return (
{links.map((item, i) => ( {links.length !== i + 1 && } ))}
); }