Skip to content

Commit

Permalink
fix: restore align attribute to OlaScore component
Browse files Browse the repository at this point in the history
  • Loading branch information
griselmatosm committed Aug 17, 2023
1 parent 68d6cef commit 5b77b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OlaScore.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ class OlaScore extends BodyComponent {
value: 'integer',
title: 'string',
level: 'string',
align: 'enum(left,center,right)',
'src-prefix': 'string',
};

static defaultAttributes = {
value: 50,
title: 'Your score',
level: 'medium',
align: 'center',
'src-prefix': 'https://apps.marketgoo.com/assets/themes/10edfa953b/mktgoo/charts/score/',
};

Expand Down

0 comments on commit 5b77b38

Please sign in to comment.