mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-26 19:07:17 +00:00
21 lines
452 B
TypeScript
21 lines
452 B
TypeScript
import React from 'react';
|
|
|
|
import { InlineRenameInput } from '../ui/inline-rename-input';
|
|
|
|
type SessionInlineRenameInputProps = {
|
|
initialName: string;
|
|
onCommit: (name: string) => void;
|
|
onCancel: () => void;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
};
|
|
|
|
export const SessionInlineRenameInput: React.FC<SessionInlineRenameInputProps> = (
|
|
props,
|
|
) => (
|
|
<InlineRenameInput
|
|
data-session-inline-rename="true"
|
|
{...props}
|
|
/>
|
|
);
|