You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@ltht-react/banner

Package Overview
Dependencies
Maintainers
15
Versions
362
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/banner

ltht-react Banner Component.

2.0.141
npmnpm
Version published
Weekly downloads
617
441.23%
Maintainers
15
Weekly downloads
 
Created
Source

Banner

Import

import Banner from '@ltht-react/banner'

Usage

<Banner type="info">
  This is an info alert with{' '}
  <a href="#" class="alert-link">
    an example link
  </a>
  .
</Banner>

Properties

PropRequiredDefaultTypeDescription
typeNo'info''info', 'danger', 'warning'Type of styling for the banner
iconNoNoneReactNodeCustom to render
childrenNoNoneElementChild elements to render within the banner
...restNoNoneHTMLAttributesAny additional props supported by an HTML Div Element

FAQs

Package last updated on 12 Mar 2025

Did you know?

Socket

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