MCPcopy
hub / github.com/codeaashu/claude-code / ExportOptionsPanel

Function ExportOptionsPanel

web/components/export/ExportOptions.tsx:47–83  ·  view source on GitHub ↗
({ options, onChange }: ExportOptionsProps)

Source from the content-addressed store, hash-verified

45}
46
47export function ExportOptionsPanel({ options, onChange }: ExportOptionsProps) {
48 const isJson = options.format === "json";
49
50 return (
51 <div className="divide-y divide-surface-800">
52 <OptionRow
53 id="opt-tool-use"
54 label="Include tool use"
55 description="Show tool calls and results in the export"
56 checked={options.includeToolUse}
57 onCheckedChange={(v) => onChange({ includeToolUse: v })}
58 />
59 <OptionRow
60 id="opt-thinking"
61 label="Include thinking blocks"
62 description="Show extended thinking when present"
63 checked={options.includeThinking}
64 onCheckedChange={(v) => onChange({ includeThinking: v })}
65 disabled={isJson}
66 />
67 <OptionRow
68 id="opt-timestamps"
69 label="Include timestamps"
70 description="Add date/time to messages and metadata"
71 checked={options.includeTimestamps}
72 onCheckedChange={(v) => onChange({ includeTimestamps: v })}
73 />
74 <OptionRow
75 id="opt-file-contents"
76 label="Include full file contents"
77 description="Show complete tool result output (may be large)"
78 checked={options.includeFileContents}
79 onCheckedChange={(v) => onChange({ includeFileContents: v })}
80 />
81 </div>
82 );
83}

Callers

nothing calls this directly

Calls 1

onChangeFunction · 0.50

Tested by

no test coverage detected