MCPcopy Create free account
hub / github.com/ElemeFE/element-react / typeClass

Method typeClass

src/notification/Notification.jsx:56–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 typeClass(): string {
57 const { type } = this.props
58 return type && typeMap[type] ? `el-icon-${ typeMap[type] }` : '';
59 }
60
61 render() {
62 const { visible } = this.state

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected