project-standalo-sonic-cloud/.workflow/versions/v003/contexts/component_label_header.yml

47 lines
1.1 KiB
YAML

task_id: task_create_component_label_header
entity_id: component_label_header
generated_at: '2025-12-18T17:43:33.731784'
workflow_version: v003
target:
type: component
definition:
id: component_label_header
name: LabelHeader
props:
- name: label
type: Label
required: true
description: Label with full details
- name: isOwner
type: boolean
required: false
default: false
description: Is current user the label owner
events:
- name: onEdit
payload: void
description: Fires when edit button clicked
uses_apis: []
uses_components: []
internal_state: []
variants:
- default
related:
models: []
apis: []
components: []
dependencies:
entity_ids: []
definitions: []
files:
to_create:
- app/components/LabelHeader.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