Browse Source

fix: import React

pull/11496/head
afc163 9 months ago
parent
commit
85599f4d36
  1. 5
      src/components/RightContent/index.tsx

5
src/components/RightContent/index.tsx

@ -1,11 +1,10 @@
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 = () => {
export const SelectLang: React.FC = () => {
return (
<UmiSelectLang
style={{
@ -15,7 +14,7 @@ export const SelectLang = () => {
);
};
export const Question = () => {
export const Question: React.FC = () => {
return (
<a
href="https://pro.ant.design/docs/getting-started"

Loading…
Cancel
Save