# brc-ui-react **Repository Path**: LiShuaizi/brc-ui-react ## Basic Information - **Project Name**: brc-ui-react - **Description**: BRC UI:超好用的React+TS自定义UI库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-10 - **Last Updated**: 2024-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## @安装使用 #### 安装BRC UI ``` # 没有安装nrm源管理工具时... npm i -g nrm # NPM全局切换到官方源 nrm use npm # 安装BRC UI/React npm i @brucelikk/brc-ui-react ``` #### 使用BRC弹窗 ```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 (
This is a modal content
自定义弹窗内容This is a modal content