/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {InjectionToken} from '@angular/core'; import {CdkAccordionItem} from '@angular/cdk/accordion'; /** * Base interface for a `MatExpansionPanel`. * @docs-private */ export interface MatExpansionPanelBase extends CdkAccordionItem { /** Whether the toggle indicator should be hidden. */ hideToggle: boolean; } /** * Token used to provide a `MatExpansionPanel` to `MatExpansionPanelContent`. * Used to avoid circular imports between `MatExpansionPanel` and `MatExpansionPanelContent`. */ export const MAT_EXPANSION_PANEL = new InjectionToken('MAT_EXPANSION_PANEL');