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

@hudoro/alert

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hudoro/alert

alert component for Hudoro UI

  • 0.0.1-beta.10
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-92.31%
Maintainers
0
Weekly downloads
 
Created
Source

Hudoro Alert

Hudoro Alert is a strict and customizable Alert component for web development projects, designed for simplicity and adherence to strict design guidelines.

Package instalation

Instal package using pnpm

  pnpm add @hudoro/alert

Instal package using yarn

  yarn add @hudoro/alert

Instal package using npm

  npm i @hudoro/alert

Usage/Examples (you can combine using icon package hudoro)

 import React from "react";
import ReactDOM from "react-dom/client";
import {Alert, AlertDescription, AlertIcon, AlertTitle} from "@hudoro/alert";

const App = () => (
  <div>
    <h1>Testing Button Component</h1>
    <Alert variant="warning">
      <AlertIcon />
      <div>
        <AlertTitle>New Feature Available</AlertTitle>
        <AlertDescription>
          Starting with Terraform 0.15, you can now upgrade to a new version and
          your workflows will continue to be operational, just as they were in
          prior versions
        </AlertDescription>
      </div>
    </Alert>
  </div>
);

ReactDOM.createRoot(document.getElementById("app")!).render(<App />);


Props @hudoro/accordion

Props that you can pass to <Alert {...props}>
Prop NameValuerequired
childrenReactNodefalse
variant"primary" / "success" / "danger" / "info" / "warning" / "dark"false
Props that you can pass to <AlertTitle {...props}>
Prop NameValuerequired
childrenReactNodefalse
Props that you can pass to <AlertDescription {...props}>
Prop NameValuerequired
childrenReactNodefalse

FAQs

Package last updated on 01 Nov 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc