empower-custom-displays
v0.1.3
Published
## Sample Usage ``` import Alert from 'empower-custom-displays';
Downloads
3
Maintainers
Keywords
Readme
Getting Started with Empower Alert Component
Sample Usage
import Alert from 'empower-custom-displays';
const config = {
show: true,
actionable: true,
status: "warning",
title: "Sample Alert Title",
message: ["Sample Message Here"],
label:'optional Label',
actions: [
{
label: 'Submit',
clicked: (event) => this.getActions(event, 'delete-batch'),
isDisabled: false
},
{
label: 'Cancel',
clicked: (event) => this.getActions(event, 'cancel-alert'),
isDisabled: false
}
],
}
<Alert config={config} />