Skip to main content

Company Item

This section describes the BfmCompanyItemComponent component.

Usage​

You need to import it in your module and use it in your template.

company-item.component.ts
import { BfmCompanyItemComponent } from '@celerofinancas/ui-user-kit';

@Component({
standalone: true,
selector: 'company-item',
imports: [BfmCompanyItemComponent],
templateUrl: './company-item.component.html',
})
export class CompanyItemComponent {}

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

company-item.component.html
<bfm-company-item 
[company]="company"
[fullWidth]="fullWidth"
[selected]="selected"
(companySelected)="handleCompanySelected($event)"
/>

Inputs​

The BfmCompanyItemComponent component has the following inputs:

company​

Company Object

TypeDefault
Company{}

fullWidth​

Full width

TypeDefault
booleanfalse

selected​

Company selected

TypeDefault
booleanfalse

Events​

The BfmCompanyItemComponent component has the following events:

companySelected​

Emits value when company has been selected

Type
EventEmitter<Company>