fix HistoryEntry children prop conflict and overlay CopyButton in ContentViewer
Rename HistoryEntry's children prop to childEntries to avoid React's reserved prop name. Replace ContentViewer's onCopy callback with a copyable flag and overlay CopyButton in the top-right corner. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5d35a5f94c
commit
8d434e2381
1 changed files with 38 additions and 17 deletions
|
|
@ -75,7 +75,7 @@ export const WithChildren: Story = {
|
|||
response: {
|
||||
result: "completed",
|
||||
},
|
||||
children: [
|
||||
childEntries: [
|
||||
{
|
||||
timestamp: "+120ms",
|
||||
method: "sampling/createMessage",
|
||||
|
|
|
|||
Loading…
Reference in a new issue