Interface: AchievementOptions
features/achievements/achievement.AchievementOptions
Properties
classes
• Optional
classes: Computable
<Record
<string
, boolean
>>
Defined in
profectus/src/features/achievements/achievement.tsx:41
display
• Optional
display: Computable
<CoercableComponent
>
Defined in
profectus/src/features/achievements/achievement.tsx:37
image
• Optional
image: Computable
<string
>
Defined in
profectus/src/features/achievements/achievement.tsx:39
mark
• Optional
mark: Computable
<string
| boolean
>
Defined in
profectus/src/features/achievements/achievement.tsx:38
onComplete
• Optional
onComplete: VoidFunction
Defined in
profectus/src/features/achievements/achievement.tsx:42
shouldEarn
• Optional
shouldEarn: () => boolean
Type declaration
▸ (): boolean
Returns
boolean
Defined in
profectus/src/features/achievements/achievement.tsx:36
style
• Optional
style: Computable
<StyleValue
>
Defined in
profectus/src/features/achievements/achievement.tsx:40
visibility
• Optional
visibility: Computable
<Visibility
>