text: import React from 'react'
  
  function InputGroup({ name, changeID, total }) {
    return (
      <div className='input-group mb-3'>
        <select
          onChange={($event) => changeID($event.target.value)}
          className='form-select'
          id={name}
        >
          <option value='1'> Choose....</option>
          {[...Array(total).keys()].map((x, index) => (
            <option value={x + 1}>
              {name} -  {x + 1}
            </option>
          ))}
        </select>
      </div>
    )
  }
  
  export default InputGroup
  