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":1070,"date":"2013-04-04T22:19:39","date_gmt":"2013-04-04T22:19:39","guid":{"rendered":"http:\/\/www.kriesi.at\/themes\/enfold\/?page_id=1070"},"modified":"2019-05-12T14:39:49","modified_gmt":"2019-05-12T14:39:49","slug":"home-v4-small-slider","status":"publish","type":"page","link":"https:\/\/hotlineforwildlife.org\/","title":{"rendered":"Home"},"content":{"rendered":"\n