import React, { FunctionComponent } from 'react';

import Editable from './base/editable';

interface Props {
  onSubmit: () => void;
  value: string;
}

const UnitTestEditable: FunctionComponent<Props> = ({ onSubmit, value }) => {
  return <Editable singleClick onSubmit={onSubmit} value={value} />;
};

export default UnitTestEditable;
