Add icon to landscape notice
This commit is contained in:
parent
41e3161895
commit
4498011654
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue