--- export interface Props { duration?: number; production?: boolean; } const TAG = 'vtbot-brake-pad'; // see also start of script let { duration = 2000 } = Astro.props; if (!(import.meta.env.DEV || Astro.props.production)) { duration = 0; } --- {duration > 0 && }