Interface: ImageComponent
The ImageComponent interface is used to define the properties of an image component. This component is used to render an image with optional styling.
Hierarchy
-
↳
ImageComponent
Table of contents
Properties
- correctAnswer
- description
- instruction
- instructionLocation
- meta
- nextButtonLocation
- nextButtonText
- path
- response
- style
- title
- type
Properties
correctAnswer
• Optional
correctAnswer: Answer
[]
Inherited from
BaseIndividualComponent.correctAnswer
Defined in
description
• Optional
description: string
Inherited from
BaseIndividualComponent.description
Defined in
instruction
• Optional
instruction: string
Inherited from
BaseIndividualComponent.instruction
Defined in
instructionLocation
• Optional
instructionLocation: "sidebar"
| "aboveStimulus"
| "belowStimulus"
Inherited from
BaseIndividualComponent.instructionLocation
Defined in
meta
• Optional
meta: Record
<string
, unknown
>
Inherited from
Defined in
nextButtonLocation
• Optional
nextButtonLocation: "sidebar"
| "aboveStimulus"
| "belowStimulus"
Inherited from
BaseIndividualComponent.nextButtonLocation
Defined in
nextButtonText
• Optional
nextButtonText: string
Inherited from
BaseIndividualComponent.nextButtonText
Defined in
path
• path: string
Defined in
response
• response: Response
[]
Inherited from
BaseIndividualComponent.response
Defined in
style
• Optional
style: Record
<string
, string
>
Defined in
title
• Optional
title: string
Inherited from
Defined in
type
• type: "image"