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