import { CopyrightOutlined } from '@wii/icons';
import React from 'react';
import Layout from '../layout';
import GlobalFooter from './components/GlobalFooter';
import { jsx as _jsx } from "react/jsx-runtime";
import { Fragment as _Fragment } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
const {
  Footer
} = Layout;
const defaultLinks = [];
const defaultCopyright = '2020 腾讯文旅研发部出品';
const FooterView = ({
  links,
  copyright,
  style,
  className,
  prefixCls
}) => /*#__PURE__*/_jsx(Footer, {
  className: className,
  style: {
    padding: 0,
    ...style
  },
  children: /*#__PURE__*/_jsx(GlobalFooter, {
    links: links !== undefined ? links : defaultLinks,
    prefixCls: prefixCls,
    copyright: copyright === false ? null : /*#__PURE__*/_jsxs(_Fragment, {
      children: ["Copyright ", /*#__PURE__*/_jsx(CopyrightOutlined, {}), " ", copyright || defaultCopyright]
    })
  })
});
export default FooterView;