18 lines
452 B
JavaScript
18 lines
452 B
JavaScript
import { LightningElement, api } from 'lwc';
|
|
import SyncLogo1 from '@salesforce/resourceUrl/syncLogo1';
|
|
|
|
export default class RegularModal extends LightningElement {
|
|
syncLogo = SyncLogo1;
|
|
|
|
@api title;
|
|
@api cancelButtonLabel = 'Cancel';
|
|
@api actionButtonLabel = 'Save';
|
|
|
|
handleCancel() {
|
|
this.dispatchEvent(new CustomEvent('cancel'));
|
|
}
|
|
|
|
handleAction() {
|
|
this.dispatchEvent(new CustomEvent('action'));
|
|
}
|
|
} |