Blame view

src/Alert/Alert.html 492 Bytes
3a3ecabe   Imshann   init
1
  <div className={'ant-alert' + (type ? " ant-alert-" + type : "") + (!showIcon ? " ant-alert-no-icon" : "") + (description?" ant-alert-with-description":"")}>
f886eef1   Imshann   优化Alert、Breadcrumb
2
      {showIcon && <antd-icon type="{{state.icons[type]}}" className="ant-alert-icon"></antd-icon>}
3a3ecabe   Imshann   init
3
4
      <div className="ant-alert-content">
          <div className="ant-alert-message">{message}</div>
f886eef1   Imshann   优化Alert、Breadcrumb
5
          {description && <div className="ant-alert-description"><antd-slot content="{{description}}"></antd-slot></div>}
3a3ecabe   Imshann   init
6
7
      </div>
  </div>