import { Select } from '@elementor/app-ui'; export default function ConditionSub( props ) { if ( 'general' === props.name || ! props.subOptions.length ) { return ''; } const onChange = ( e ) => props.updateConditions( props.id, { sub: e.target.value, subId: '' } ); return (