πŸ“„ File detail

components/Spinner/index.ts

🧩 .tsπŸ“ 11 linesπŸ’Ύ 602 bytesπŸ“ text
← Back to All Files

🎯 Use case

This file lives under β€œcomponents/”, which covers shared React UI pieces. On the API surface it exposes FlashingChar, GlimmerMessage, ShimmerChar, SpinnerGlyph, and useShimmerAnimation (and more) β€” mainly functions, hooks, or classes. It composes internal code from FlashingChar, GlimmerMessage, ShimmerChar, SpinnerGlyph, and types (relative imports). What the file header says: 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.

Generated from folder role, exports, dependency roots, and inline comments β€” not hand-reviewed for every path.

🧠 Inline summary

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

πŸ“€ Exports (heuristic)

  • FlashingChar
  • GlimmerMessage
  • ShimmerChar
  • SpinnerGlyph
  • useShimmerAnimation
  • useStalledAnimation
  • getDefaultCharacters
  • interpolateColor

πŸ–₯️ Source preview

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