Skip to main content

Warning

This section describes the BfmWarningComponent component.

Usage

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

warning.component.ts
import { BfmWarningComponent } from '@celerofinancas/ui-user-kit';

@Component({
standalone: true,
selector: 'warning-component',
imports: [BfmWarningComponent],
templateUrl: './warning.component.html',
})
export class WarningComponent {}

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

warning.component.html
<bfm-warning 
[link]="'https://example.com'"
[message]="'This is a warning message.'"
[type]="'danger'"
/>

Inputs

The BfmWarningComponent component has the following inputs:

Message link

TypeDefault
string''

message

Message shown by the warning header

TypeDefault
string''

type

Warning header style

TypeDefault
`"danger""warning"

Events

The BfmWarningComponent component has no events.