🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

magic-design-react

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-design-react

A component library that can achieve magic effects

0.0.31
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

magic-design-react

A component library that can achieve magic effects

你可以在 React 项目中引入本项目从而实现特定的魔法效果

Start

pnpm add magic-design-react

Usage

引入基本样式

App.tsx

import 'magic-design-react/dist/magic-design-react.css';

index.tsx

默认支持 ESM 导出,可以被 tree-shaking 优化

import { Weather } from 'magic-design-react';
import React from 'react';

const Page: React.FC<void> = () => {
  return (
    <div className="Page">
      <Weather />
    </div>
  );
};
export default Page;

Caveats

magic-design-react 依赖 reactreact-dom,请确保你的项目中已经安装了这两个依赖。

持续更新中~有更好玩的需求欢迎提 issue 踢我

Keywords

ui

FAQs

Package last updated on 08 Apr 2023

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