project-standalo-note-to-app/.workflow/versions/v001/contexts/component_hero.yml

38 lines
831 B
YAML

task_id: task_create_component_hero
entity_id: component_hero
generated_at: '2025-12-19T06:08:12.189153'
workflow_version: v001
target:
type: component
definition:
id: component_hero
name: Hero
props: []
events:
- name: onGetStarted
payload: void
description: Fired when CTA button clicked
uses_apis: []
uses_components: []
internal_state: []
variants:
- default
related:
models: []
apis: []
components: []
dependencies:
entity_ids: []
definitions: []
files:
to_create:
- app/components/Hero.tsx
reference: []
acceptance:
- criterion: Component renders without errors
verification: Import and render in test
- criterion: Props are typed correctly
verification: TypeScript compilation
- criterion: Events fire correctly
verification: Test event handlers