@shutootaki/gwm
Version:
git worktree manager CLI
16 lines • 591 B
TypeScript
import React from 'react';
interface TextInputProps {
title: string;
placeholder: string;
initialValue?: string;
onSubmit: (value: string) => void;
onCancel: () => void;
onModeSwitch?: () => void;
validate?: (value: string) => string | null;
preview?: (value: string) => string | null;
}
export declare const TextInput: React.FC<TextInputProps>;
export declare function validateBranchName(branchName: string): string | null;
export declare function generateWorktreePreview(branchName: string): string | null;
export {};
//# sourceMappingURL=TextInput.d.ts.map