π File detail
components/Spinner/index.ts
π― 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)
FlashingCharGlimmerMessageShimmerCharSpinnerGlyphuseShimmerAnimationuseStalledAnimationgetDefaultCharactersinterpolateColor
π₯οΈ 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