claude-code/src/commands/diff/diff.tsx
2026-03-31 23:03:47 +08:00

9 lines
325 B
TypeScript

import * as React from 'react';
import type { LocalJSXCommandCall } from '../../types/command.js';
export const call: LocalJSXCommandCall = async (onDone, context) => {
const {
DiffDialog
} = await import('../../components/diff/DiffDialog.js');
return <DiffDialog messages={context.messages} onDone={onDone} />;
};