MCPcopy
hub / github.com/remix-run/react-router / TextPromptOptions

Interface TextPromptOptions

packages/create-react-router/prompts-text.ts:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15} from "./utils";
16
17export interface TextPromptOptions extends PromptOptions {
18 label: string;
19 message: string;
20 initial?: string;
21 style?: string;
22 validate?: (v: any) => v is string;
23 error?: string;
24 hint?: string;
25}
26
27export class TextPrompt extends Prompt {
28 transform: { render: (v: string) => any; scale: number };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…