Skip to main content

VideoSummaryCardProps

@fovea/annotation-tool


@fovea/annotation-tool / components/VideoSummaryCard / VideoSummaryCardProps

Interface: VideoSummaryCardProps

Defined in: src/components/VideoSummaryCard.tsx:34

Props for VideoSummaryCard component.

Properties

error?

optional error: null | string

Defined in: src/components/VideoSummaryCard.tsx:39


expanded?

optional expanded: boolean

Defined in: src/components/VideoSummaryCard.tsx:44


loading?

optional loading: boolean

Defined in: src/components/VideoSummaryCard.tsx:38


onDelete()?

optional onDelete: (summary) => void

Defined in: src/components/VideoSummaryCard.tsx:41

Parameters

summary

VideoSummary

Returns

void


onEdit()?

optional onEdit: (summary) => void

Defined in: src/components/VideoSummaryCard.tsx:40

Parameters

summary

VideoSummary

Returns

void


onExpandChange()?

optional onExpandChange: (expanded) => void

Defined in: src/components/VideoSummaryCard.tsx:45

Parameters

expanded

boolean

Returns

void


onRegenerate()?

optional onRegenerate: (videoId, personaId) => void

Defined in: src/components/VideoSummaryCard.tsx:42

Parameters

videoId

string

personaId

string

Returns

void


personaName?

optional personaName: string

Defined in: src/components/VideoSummaryCard.tsx:36


personaRole?

optional personaRole: string

Defined in: src/components/VideoSummaryCard.tsx:37


showActions?

optional showActions: boolean

Defined in: src/components/VideoSummaryCard.tsx:43


summary

summary: null | VideoSummary

Defined in: src/components/VideoSummaryCard.tsx:35