index.ts
components/Spinner/index.ts
11
Lines
602
Bytes
8
Exports
8
Imports
10
Keywords
What this is
This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.
Beginner explanation
This file is one piece of the larger system. Its name, directory, imports, and exports show where it fits. Start by reading the exports and related files first.
How it is used
Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.
Expert explanation
Architecturally, this file intersects with ui-flow. It contains 11 lines, 8 detected imports, and 8 detected exports.
Important relationships
- components/Spinner/FlashingChar.tsx
- components/Spinner/GlimmerMessage.tsx
- components/Spinner/ShimmerChar.tsx
- components/Spinner/SpinnerAnimationRow.tsx
- components/Spinner/SpinnerGlyph.tsx
- components/Spinner/TeammateSpinnerLine.tsx
- components/Spinner/TeammateSpinnerTree.tsx
- components/Spinner/teammateSelectHint.ts
- commands/add-dir/index.ts
- commands/agents/index.ts
- commands/branch/index.ts
- commands/bridge/index.ts
Detected exports
FlashingCharGlimmerMessageShimmerCharSpinnerGlyphuseShimmerAnimationuseStalledAnimationgetDefaultCharactersinterpolateColor
Keywords
flashingcharglimmermessageshimmercharspinnerglyphuseshimmeranimationusestalledanimationspinnermodetypesgetdefaultcharactersinterpolatecolor
Detected imports
./FlashingChar.js./GlimmerMessage.js./ShimmerChar.js./SpinnerGlyph.js./types.js./useShimmerAnimation.js./useStalledAnimation.js./utils.js
Source notes
This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.
Full source
export { FlashingChar } from './FlashingChar.js'
export { GlimmerMessage } from './GlimmerMessage.js'
export { ShimmerChar } from './ShimmerChar.js'
export { SpinnerGlyph } from './SpinnerGlyph.js'
export type { SpinnerMode } from './types.js'
export { useShimmerAnimation } from './useShimmerAnimation.js'
export { useStalledAnimation } from './useStalledAnimation.js'
export { getDefaultCharacters, interpolateColor } from './utils.js'
// Teammate components are NOT exported here - use dynamic require() to enable dead code elimination
// See REPL.tsx and Spinner.tsx for the correct import pattern