import React                from 'react';
import { FileUploadEntry }  from '../../../../../panels/ItemEditor';

export default React.createClass({

  displayName: 'Simulation/New/PyFrExec',

  propTypes: {
    owner: React.PropTypes.func,
  },

  render() {
    return (
      <div>
        <FileUploadEntry name="mesh" label="Mesh file (.msh)" accept=".msh" owner={ this.props.owner } />
        <FileUploadEntry name="ini" label="Ini file (.ini)" accept=".ini" owner={ this.props.owner } />
      </div>);
  },
});

import React                from 'react';
import { FileUploadEntry }  from '../../../../../panels/ItemEditor';

export default React.createClass({

  displayName: 'Simulation/New/PyFrExec',

  propTypes: {
    owner: React.PropTypes.func,
  },

  render() {
    return (
      <div>
        <FileUploadEntry name="mesh" label="Mesh (msh, pyfrm)" accept=".msh,.pyfrm" owner={ this.props.owner } />
        <FileUploadEntry name="ini" label="Ini file" accept=".ini" owner={ this.props.owner } />
      </div>);
  },
});

Allow PyFr mesh to either be .msh or .pyfrm
fix(PyFr): Allow PyFr mesh to either be .msh or .pyfrm
