text: import { LightningElement } from 'lwc';
  
  export default class SegmentSelector extends LightningElement {
      handleChange(event) {
          this.dispatchEvent(new CustomEvent('change'), {
              detail: { value: event.target.value }
          });
      }
  }