Files
expo-popcore-app/components/blocks/home/index.ts
imeepos 2757b68756 feat: add TemplateGrid and TitleBar components with tests
- Implemented TemplateGrid component for displaying templates in a grid layout.
- Added calculateCardWidth helper function for dynamic card sizing.
- Created TitleBar component for displaying the title and points with interaction.
- Added unit tests for TemplateGrid and TitleBar components to ensure proper functionality.
- Introduced useStickyTabs and useTabNavigation hooks with tests for managing sticky tab behavior and navigation logic.
- Implemented useTemplateFilter hook for filtering templates based on video content.
- Added comprehensive tests for all new hooks and components to validate behavior and edge cases.
2026-01-26 12:43:20 +08:00

6 lines
325 B
TypeScript

export { TitleBar } from './TitleBar'
export { HeroSlider, type Activity } from './HeroSlider'
export { TabNavigation } from './TabNavigation'
export { TemplateCard, parseAspectRatio, getImageUri } from './TemplateCard'
export { TemplateGrid, calculateCardWidth, type Template, type TemplateGridProps } from './TemplateGrid'