Add icon to landscape notice

This commit is contained in:
Piotr Rogowski 2021-03-23 10:42:07 +01:00
parent 41e3161895
commit 4498011654
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import { Result } from 'antd'; import { Result } from 'antd';
import { RotateLeftOutlined } from '@ant-design/icons';
const LandscapeNotice = () => <Result title="Turn your device to landscape mode" />; const LandscapeNotice = () => <Result title="Turn your device to landscape mode" icon={<RotateLeftOutlined />} />;
export default LandscapeNotice; export default LandscapeNotice;