import { LightningElement,api } from 'lwc'; export default class ChildExp1 extends LightningElement { @api counter=0; }