You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
593 B
32 lines
593 B
8 months ago
|
import { QuestionCircleOutlined } from '@ant-design/icons';
|
||
|
import { SelectLang as UmiSelectLang } from '@umijs/max';
|
||
|
import React from 'react';
|
||
|
|
||
|
export type SiderTheme = 'light' | 'dark';
|
||
|
|
||
|
export const SelectLang = () => {
|
||
|
return (
|
||
|
<UmiSelectLang
|
||
|
style={{
|
||
|
padding: 4,
|
||
|
}}
|
||
|
/>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export const Question = () => {
|
||
|
return (
|
||
|
<div
|
||
|
style={{
|
||
|
display: 'flex',
|
||
|
height: 26,
|
||
|
}}
|
||
|
onClick={() => {
|
||
|
window.open('https://pro.ant.design/docs/getting-started');
|
||
|
}}
|
||
|
>
|
||
|
<QuestionCircleOutlined />
|
||
|
</div>
|
||
|
);
|
||
|
};
|