Back to Components
Desktop (Electron)
QuestionCard
Function Component
Question Card
Lines
153
File
QuestionCard.tsx
Last Modified
2026-10-08
Exports
default QuestionCard
Source Path
aartiq-browser/src/QuestionCard.tsx
Tags
ReactAImacOS
Code Analysis
React Hooks
useState
API / Library Usage
lucide-icons
External Dependencies
reactlucide-react
Internal Imports
@/lib/aiQuestion
Props / Types
QuestionCardProps
| Prop | Type | Required |
|---|---|---|
| question | AartiqQuestion | Yes |
| answered | boolean | Yes |
| answer | string | No |
| skipped | boolean | No |
| onAnswer | (text: string) => void | Yes |
| onSkip | () => void | Yes |
Key Functions
submit()toggleOption()submitMulti()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js