Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class suspendButton extends Component {
}

render() {
const { img, style } = this.props
const { img, style, imgStyle } = this.props
return (
<span
className="t-suspend-button"
Expand All @@ -137,7 +137,7 @@ class suspendButton extends Component {
...style
}}
>
{img && <img src={img} alt="" />}
{img && <img src={img} style={imgStyle} alt="" />}
</span>
)
}
Expand Down