]> git.r.bdr.sh - rbdr/sumo/blame - lib/components/winner.js
Merge branch 'feature/rbdr-deploy-to-pages' into 'develop'
[rbdr/sumo] / lib / components / winner.js
CommitLineData
3100e053
RBR
1import { Component } from '@serpentity/serpentity';
2
3/**
4 * Component that stores a winner
5 *
6 * @extends {external:Serpentity.Component}
7 * @class WinnerComponent
8 * @param {object} config a configuration object to extend.
9 */
10export default class WinnerComponent extends Component {
11 constructor(config) {
12
13 super(config);
14
15 /**
16 * The properthy that holds the winner
17 *
18 * @property {string} winner
19 * @instance
20 * @memberof WionnerComponent
21 */
22 this.winner = this.winner || null;
23 }
24};
25
26