New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ltht-react/banner

Package Overview
Dependencies
Maintainers
0
Versions
346
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.140
npm
Version published
Maintainers
0
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 11 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