review-master
Classes
Type Aliases
Review
Ƭ Review: Object
Review interface defining the structure of a single review analysis.
Type declaration
| Name | Type |
|---|---|
date | string |
generalSentiment | string |
negativeCategories | string[] |
positiveCategories | string[] |
reviewId | string |
stars | string |
Defined in
components/AnalysisModel.tsx:6
Variables
negativeBackgroundColor
• Const negativeBackgroundColor: string
Defined in
negativeBorderColor
• Const negativeBorderColor: string
Defined in
negativeColor
• Const negativeColor: "255, 99, 132"
Defined in
positiveBackgroundColor
• Const positiveBackgroundColor: string
Defined in
positiveBorderColor
• Const positiveBorderColor: string
Defined in
positiveColor
• Const positiveColor: "53, 162, 235"
Defined in
Functions
formatDate
▸ formatDate(dateObj): string
Format a Date object into a string in the format MM/DD/YYYY.
Parameters
| Name | Type | Description |
|---|---|---|
dateObj | Date | The Date object to be formatted. |
Returns
string
The formatted date string.