Status
Demo
Default
成功
失败
警告
默认
Code
import Status from '.'
export default function StatusDemo() {
return (
<div className="demo-container">
<h3>Default</h3>
<div className="demo-row">
<Status status="success" statusText="成功" />
<Status status="error" statusText="失败" />
<Status status="warning" statusText="警告" />
<Status status="default" statusText="默认" />
</div>
</div>
)
}