fix: result error icon demo

pull/20281/head
ycjcl868 5 years ago
parent 4dc860decf
commit f1c8dc70ed

@ -43,15 +43,27 @@ ReactDOM.render(
</Text>
</Paragraph>
<Paragraph>
<CloseCircleOutlined style={{ color: 'red' }} /> Your account has been frozen
<CloseCircleOutlined className="site-result-demo-error-icon" /> Your account has been frozen
<a>Thaw immediately &gt;</a>
</Paragraph>
<Paragraph>
<CloseCircleOutlined style={{ color: 'red' }} /> Your account is not yet eligible to apply{' '}
<a>Apply Unlock &gt;</a>
<CloseCircleOutlined className="site-result-demo-error-icon" /> Your account is not yet
eligible to apply <a>Apply Unlock &gt;</a>
</Paragraph>
</div>
</Result>,
mountNode,
);
```
```css
.site-result-demo-error-icon {
color: red;
}
```
<style>
[data-theme="dark"] .site-result-demo-error-icon {
color: #a61d24;
}
</style>

Loading…
Cancel
Save