// #region [Imports] =================================================================================================== // Libraries import { Row, Col, Button } from 'antd'; // Components import AdminHeader from '../../components/AdminHeader'; // SCSS import './index.scss'; // #region [Variables] ================================================================================================= declare var acfwAdminApp: any; // #endregion [Variables] // #region [Interfaces]================================================================================================= interface IStepProps { step_count: string; title: string; description: string; is_active: boolean; action_text: string; link: string; is_external: boolean; } // #endregion [Interfaces] // #region [Component] ================================================================================================= const PluginStep = (props: IStepProps) => { const { step_count, title, description, is_active, action_text, link, is_external } = props; return (
{step_count}

{title}

{description}

); }; const LoyaltyProgram = () => { const { loyalty_program: { title, description, plugin_image, features_list, steps_list }, } = acfwAdminApp; return (
{plugin_image.alt}
    {features_list.map((feature: string, key: string) => (
  • {feature}
  • ))}
{steps_list.map((pluginStep: IStepProps, key: string) => ( ))}
); }; export default LoyaltyProgram; // #endregion [Component]