ant-design/components/result/demo/warning.md
2022-05-23 14:37:16 +08:00

455 B

order title
2
zh-CN en-US
Warning Warning

zh-CN

警告类型的结果。

en-US

The result of the warning.

import { Button, Result } from 'antd';
import React from 'react';

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;