insomnia/packages/insomnia-app/app/ui/components/unit-test-editable.tsx

15 lines
338 B
TypeScript
Raw Normal View History

import React, { FunctionComponent } from 'react';
2021-07-22 23:04:56 +00:00
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;