Skip to main content

Import

This section describes the BfmCostCenterImportComponent component.

Composition

The BfmCostCenterImportComponent is composed of the following components:

Usage

You can import the BfmCostCenterImportComponent directly in your route configuration.

import { BfmCostCenterImportComponent } from '@celerofinancas/ui-company-kit';

const routes = [
{
path: 'cost-center-import',
component: BfmCostCenterImportComponent,
},
];

But if you need more customization, you need to import it in your module and use it in your template.


import { BfmCostCenterImportComponent } from '@celerofinancas/ui-company-kit';

@Component({
standalone: true,
selector: 'cost-center-import',
imports: [BfmCostCenterImportComponent],
templateUrl: './cost-center-import.component.html',
})
export class CostCenterImportComponent {}

Then, in your template, you can use the component like this:


<bfm-cost-center-import
[inputName]="'inputValue'"
(eventName)="handleEvent($event)"
/>

Inputs

The BfmCostCenterImportComponent component has the following inputs:

inputName

Input name.

TypeDefault
string''

Events

The BfmCostCenterImportComponent component has the following events:

eventName

Event name.

TypeDefault
EventEmiternull