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


You need to login to view comments.