insomnia/packages/insomnia-app/app/ui/components/unit-test-editable.tsx
2021-07-23 11:04:56 +12:00

15 lines
338 B
TypeScript

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;