
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@brucelikk/brc-ui-react
Advanced tools
一个狠好使的React + TS组件库! / a React+TS based highly popular management component ui lib!
# 没有安装nrm源管理工具时...
npm i -g nrm
# NPM全局切换到官方源
nrm use npm
# 安装BRC UI/React
npm i @brucelikk/brc-ui-react
import React, { useState } from "react";
// 引入BRC弹窗
import { BrcPopup } from "@brucelikk/brc-ui-react";
export default function PopupDemo() {
// 用一个state控制要不要显示弹窗
const [showPopup, setShowPopup] = useState(false);
return (
<div>
<h3>PopupDemo</h3>
<button onClick={() => setShowPopup(true)}>显示弹窗</button>
{/* 需要时显示弹窗显示弹窗 */}
{showPopup && (
// closer={setShowPopup} 告诉组件哪个state在控制弹窗的显隐 它好在必要时帮你关闭弹窗
// title="我的弹窗" 弹窗标题
// onConfirm={() => console.log("已确定")} 点击确定时的回调
// <p>This is a modal content</p> 自定义弹窗内容
<BrcPopup
closer={setShowPopup}
title="我的弹窗"
onConfirm={() => console.log("已确定")}
>
<p>This is a modal content</p>
</BrcPopup>
)}
</div>
);
}
import {} from "react";
import "./App.css";
import {BrcRecursiveMenu} from "@brucelikk/brc-ui-react";
import menuItems from "./assets/menuItems";
function App() {
return (
<>
<div className="wrapper">
<div className="nav">
<BrcRecursiveMenu items={menuItems} />
</div>
</div>
</>
);
}
export default App;
FAQs
一个狠好使的React + TS组件库! / a React+TS based highly popular management component ui lib!
We found that @brucelikk/brc-ui-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.