Updated Dummy to take in className prop
• Updated: - Dummy to take in className prop
This commit is contained in:
parent
f8d2b4845d
commit
8923a0188d
@ -1,7 +1,11 @@
|
||||
export default class Dummy extends PureComponent {
|
||||
|
||||
render() {
|
||||
return <div>{this.props.children}</div>
|
||||
return (
|
||||
<div className={this.props.className}>
|
||||
{this.props.children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user