import classNames from "classnames"; import { Component } from "inferno"; import { I18NextService } from "../../services"; interface IconProps { icon: string; classes?: string; inline?: boolean; small?: boolean; } export class Icon extends Component { constructor(props: any, context: any) { super(props, context); } render() { return (
{this.props.icon}
); } } interface SpinnerProps { large?: boolean; } export class Spinner extends Component { constructor(props: any, context: any) { super(props, context); } render() { return ( ); } } export class PurgeWarning extends Component { constructor(props: any, context: any) { super(props, context); } render() { return (
{I18NextService.i18n.t("purge_warning")}
); } }