React: Adding multiple styles


/ Published in: JavaScript
Save to your folder(s)

Adding the width style to a table header that already has a headerCell style attached to it from a Mixin.


Copy this code and paste it in your HTML
  1. <th style={Object.assign({},this.css.headerCell,{width: "10%"})}>Actions</th>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.