File

src/lib/component-dialog/types.ts

Index

Properties

Properties

component
component: ComponentType<any>
Type : ComponentType<any>
title
title: string
Type : string
Optional
import { ComponentType } from '@angular/cdk/overlay';
import { MatDialogConfig } from '@angular/material/dialog';

export interface ComponentDialogData {
  component: ComponentType<any>,
  title?: string,
}

export type ComponentDialogConfig = MatDialogConfig<Omit<ComponentDialogData, 'component'>>;

results matching ""

    No results matching ""