1 import { Component } from 'inferno';
2 import { i18n } from '../i18next';
4 interface CakeDayProps {
8 export class CakeDay extends Component<CakeDayProps, any> {
12 className={`mx-2 d-inline-block unselectable pointer`}
13 data-tippy-content={this.cakeDayTippy()}
15 <svg class="icon icon-inline">
16 <use xlinkHref="#icon-cake"></use>
22 cakeDayTippy(): string {
23 return i18n.t('cake_day_info', { creator_name: this.props.creatorName });