@pega/dx-component-builder-sdk
Version:
Utility for building custom UI components
25 lines (22 loc) • 817 B
text/typescript
import { Component, Input, forwardRef } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormGroup } from '@angular/forms';
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
interface InlineDashboardProps {
// If any, enter additional props that only exist on this component
title: string;
filterPosition?: string;
}
({
selector: 'app-inline-dashboard',
templateUrl: './inline-dashboard.component.html',
styleUrls: ['./inline-dashboard.component.scss'],
standalone: true,
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
})
export class InlineDashboardComponent {
() pConn$: typeof PConnect;
() filtersFormGroup$: FormGroup;
() inlineProps: InlineDashboardProps;
() children: any[];
}