1.8.1 • Published 2 years ago

@finastra/alert-message v1.8.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.17

3 years ago

1.2.16

3 years ago

1.2.15

3 years ago

1.2.14

3 years ago

1.2.13

3 years ago

1.2.12

3 years ago

1.2.11

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago