spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / views / sections / pressable / pressable.ts
11 lines · 170 BRaw
1/**
2 * A plain Button's face and what pressing it does.
3 */
4export type Pressable = {
5 label: string
6
7 /**
8 * Runs on a click or Enter.
9 */
10 onPress: () => void
11}