Import
This section describes the BfmImportCompanyRelatedComponent component.
Composition
The BfmImportCompanyRelatedComponent is composed of the following components:
- BfmUploadSectionComponent - Component for upload section.
- BfmCompanyRelatedSuccessComponent - Component for company related success.
- BfmListSectionComponent - Component for list section.
Usage
You can import the BfmImportCompanyRelatedComponent directly in your route configuration.
import { BfmImportCompanyRelatedComponent } from '@celerofinancas/ui-company-kit';
const routes = [
{
path: 'import-company-related',
component: BfmImportCompanyRelatedComponent,
},
];
But if you need more customization, you need to import it in your module and use it in your template.
import-company-related.component.ts
import { BfmImportCompanyRelatedComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'import-company-related',
imports: [BfmImportCompanyRelatedComponent],
templateUrl: './import-company-related.component.html',
})
export class ImportCompanyRelatedComponent {}
Then, in your template, you can use the component like this:
import-company-related.component.html
<bfm-import-company-related
[companyPk]="'companyPrimaryKey'"
/>
Inputs
The BfmImportCompanyRelatedComponent component has the following inputs:
companyPk
Company primary key.
| Type | Default |
|---|---|
string | '' |
Events
The BfmImportCompanyRelatedComponent component has no events.