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> </> ) }