import React, { Component } from 'react';
import full from '../images/full.png';
import fullForms from '../images/forms/full.png';
import { values } from '../values.config';

class ViewFull extends Component {
  render() {
    let src = full;
    if (values.featureKey === 'maintenanceForms') {
      src = fullForms;
    }

    return <img style={styles.image} src={src} alt="full" />;
  }
}

const styles = {
  image: {
    width: '100%',
    height: '100%',
    objectFit: 'contain',
  },
};

export default ViewFull;
