MCPcopy Index your code
hub / github.com/Lobos/react-ui / render

Method render

src/Message.js:33–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 render () {
34 let className = classnames(
35 this.props.className,
36 'rct-message',
37 `rct-message-${this.props.type}`,
38 { 'dismissed': this.props.dismissed }
39 );
40
41 return (
42 <div className={className}>
43 <button type="button" onClick={this.dismiss} className="close">&times;</button>
44 {this.props.content}
45 </div>
46 );
47 }
48}
49
50Item.propTypes = {

Callers 1

renderContainerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected