41 lines
952 B
YAML
41 lines
952 B
YAML
task_id: task_create_component_section_header
|
|
entity_id: component_section_header
|
|
generated_at: '2025-12-18T15:16:50.328281'
|
|
workflow_version: v001
|
|
target:
|
|
type: component
|
|
definition:
|
|
id: component_section_header
|
|
name: SectionHeader
|
|
description: Section title with optional action
|
|
props:
|
|
- name: title
|
|
type: string
|
|
required: true
|
|
- name: actionLabel
|
|
type: string
|
|
required: false
|
|
events:
|
|
- name: onActionClick
|
|
payload: null
|
|
uses_apis: []
|
|
uses_components: []
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components: []
|
|
dependencies:
|
|
entity_ids: []
|
|
definitions: []
|
|
files:
|
|
to_create:
|
|
- app/components/SectionHeader.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
|