text: import green from '@material-ui/core/colors/green';
  import orange from '@material-ui/core/colors/orange';
  import red from '@material-ui/core/colors/red';
  
  const rowStyle = (record, index, defaultStyle = {}) => {
      if (record.status === 'accepted')
          return {
              ...defaultStyle,
              borderLeftColor: green[500],
              borderLeftWidth: 5,
              borderLeftStyle: 'solid',
          };
      if (record.status === 'pending')
          return {
              ...defaultStyle,
              borderLeftColor: orange[500],
              borderLeftWidth: 5,
              borderLeftStyle: 'solid',
          };
      if (record.status === 'rejected')
          return {
              ...defaultStyle,
              borderLeftColor: red[500],
              borderLeftWidth: 5,
              borderLeftStyle: 'solid',
          };
      return defaultStyle;
  };
  
  export default rowStyle;
  