<commit_before>'use strict';
import React from 'react';
import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';


var products = [];

function addProducts(quantity) {
  var startId = products.length;
  for (var i = 0; i < quantity; i++) {
    var id = startId + i;
    products.push({
      id: id,
      name: "Item name " + id,
      price: 2100 + i
    });
  }
}

addProducts(5);

export default class ColumnWidthTable extends React.Component{
  render(){
    return (
      <BootstrapTable data={products}>
          <TableHeaderColumn dataField="id" isKey={true} width="15%">Product ID</TableHeaderColumn>
          <TableHeaderColumn dataField="name" width="150px">Product Name</TableHeaderColumn>
          <TableHeaderColumn dataField="price">Product Price</TableHeaderColumn>
      </BootstrapTable>
    );
  }
};<commit_msg>update colimn width examples<commit_after>'use strict';
import React from 'react';
import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';


var products = [];

function addProducts(quantity) {
  var startId = products.length;
  for (var i = 0; i < quantity; i++) {
    var id = startId + i;
    products.push({
      id: id,
      name: "Item name aaaaaaaaaaaaaa" + id,
      price: 2100 + i
    });
  }
}

addProducts(5);

export default class ColumnWidthTable extends React.Component{
  render(){
    return (
      <BootstrapTable data={products}>
          <TableHeaderColumn dataField="id" isKey={true}>Product ID</TableHeaderColumn>
          <TableHeaderColumn dataField="name" width="150">Product Name</TableHeaderColumn>
          <TableHeaderColumn dataField="price" width="90">Product Price</TableHeaderColumn>
      </BootstrapTable>
    );
  }
};
{'fraction_non_alphanumeric': 0.12905092592592593, 'fraction_numerical': 0.01273148148148148, 'mean_word_length': 3.622994652406417, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1546766', 'n_tokens_mistral': 528, 'n_tokens_neox': 505, 'n_words': 130}