mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 06:49:32 +08:00
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
|
import React from 'react';
|
||
|
import { Button, Result } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Result
|
||
|
status="warning"
|
||
|
title="There are some problems with your operation."
|
||
|
extra={
|
||
|
<Button type="primary" key="console">
|
||
|
Go Console
|
||
|
</Button>
|
||
|
}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|