#
luxiaotao1123
2024-02-25 7bc7a9c11f4ed9b8539e9c72e5a09effcedf317a
zy-asrs-flow/src/components/RightContent/index.tsx
@@ -1,6 +1,7 @@
import { QuestionCircleOutlined } from '@ant-design/icons';
import { SelectLang as UmiSelectLang } from '@umijs/max';
import React from 'react';
import { MoonOutlined, BulbOutlined } from '@ant-design/icons';
export type SiderTheme = 'light' | 'dark';
@@ -29,3 +30,22 @@
    </div>
  );
};
export const Brightness = () => {
  return (
    <>
      <div
        style={{
          display: 'flex',
          height: 26,
        }}
        onClick={() => {
          window.open('https://pro.ant.design/docs/getting-started');
        }}
      >
        {/* <BulbOutlined /> */}
        <MoonOutlined />
      </div>
    </>
  )
}