import { Heading, Text } from '@elementor/app-ui';
import ConditionsProvider from '../../context/conditions';
import { Context as TemplatesContext } from '../../context/templates';
import ConditionsRows from './conditions-rows';
import './conditions.scss';
import BackButton from '../../molecules/back-button';
export default function Conditions( props ) {
const { findTemplateItemInState, updateTemplateItemState } = React.useContext( TemplatesContext ),
template = findTemplateItemInState( parseInt( props.id ) );
if ( ! template ) {
return
{ __( 'Not Found', 'elementor-pro' ) }
;
}
return (
{ __( 'Where Do You Want to Display Your Template?', 'elementor-pro' ) }
{ __( 'Set the conditions that determine where your template is used throughout your site.', 'elementor-pro' ) }
{ __( 'For example, choose \'Entire Site\' to display the template across your site.', 'elementor-pro' ) }
history.back() } />
);
}
Conditions.propTypes = {
id: PropTypes.string,
};
{"id":144,"date":"2021-12-25T00:36:12","date_gmt":"2021-12-24T17:36:12","guid":{"rendered":"https:\/\/sanaspostnews.com\/?p=144"},"modified":"2021-12-26T00:40:27","modified_gmt":"2021-12-25T17:40:27","slug":"franchise-baba-rafi","status":"publish","type":"post","link":"https:\/\/sanaspostnews.com\/franchise-baba-rafi\/","title":{"rendered":"Mulai Bisnis Bersama Franchise Baba Rafi Cafe"},"content":{"rendered":"