// Copyright: © 2026 TWWIM UG. All rights reserved. (www.twwim.com) /** * EnabledToggle — master on/off switch for the Attention Anchoring branch. * * Operates on the `form.attention.enabled` field; the per-device visibility * toggles live in VisibilitySection above. * * @layer Presentation */ import type { TFunction } from '../lib/constants'; interface EnabledToggleProps { enabled: boolean; onChange: (enabled: boolean) => void; t: TFunction; } export function EnabledToggle({ enabled, onChange, t }: EnabledToggleProps) { return (

{t('tenants.pluginSettings.attentionEnabled')}

{t('tenants.pluginSettings.attentionEnabledHint')}

); }