Download mods/diff/hooks/views/kit/ui/ui.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/views/kit/ui/ui.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/hooks/views/kit/ui/ui.ts
-
curl -L -o ui.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/views/kit/ui/ui.ts
406 Bytes
| import type { ElementTable } from 'claude-code' | |
| /** | |
| * The element constructors the pane draws with, destructured from the | |
| * table `$.ui.resolve(e)` hands the render hook. | |
| * | |
| * The terminal and the desktop carry all five; the mobile app has no | |
| * Select, so the pane never draws there. | |
| */ | |
| export type Ui = Pick< | |
| ElementTable<'terminal' | 'desktop'>, | |
| 'Box' | 'Text' | 'Button' | 'Select' | 'Code' | |
| > | |