Socket
Socket
Sign inDemoInstall

@finastra/alert-message

Package Overview
Dependencies
8
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @finastra/alert-message

AlertMessage Web Component


Version published
Weekly downloads
33
increased by10%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

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>

Keywords

FAQs

Last updated on 27 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc