1.8.1 • Published 10 months ago

@finastra/alert-message v1.8.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

AlertMessage

An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.

See it on NPM! How big is this package in your project? Storybook

Usage

Import

npm i @finastra/alert-message
import '@finastra/alert-message';
...
  <fds-alert-message type="success" title="Success" description="A banner displays an important, succinct message, and provides actions for users to address or dismiss the banner.">
  </fds-alert-message>

API

Properties

PropertyAttributeTypeDefaultDescription
densedensebooleanfalsedense .
descriptiondescriptionstring""Alert description.
iconiconstring""Alert Icon.
layoutlayoutmultiLines\|singleLine"multiLines"Define the layout type
showCloseButtonshowCloseButtonbooleanfalseDisplay the close button to dismiss the alert message.
titletitlestring""Alert title.
typetypeinfo\|error\|success\|warning"success"Define the alert type
withoutIconwithoutIconbooleanfalseRemove the Icon from the alert message.

Methods

MethodType
renderIcon(): TemplateResult<1>
1.8.1

10 months ago

1.8.0

12 months ago

1.7.0

1 year ago

1.6.0

1 year ago

1.4.2

1 year ago

1.5.0

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.1

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago