Giter VIP home page Giter VIP logo

2fa-for-macos's Introduction

react-hooks-toast

如图

使用方法:

import Toast from "react-hooks-toast";


Toast.info("Info", 2000, true);
Toast.success("操作成功", 2000);
Toast.danger("发送错误", 2000);
Toast.loading("Loading", 2000);
Toast.warning("警告", 2000);
Toast.primary("OK", 2000);

webpack配置:

module: {
    rules: [
        {
            test: /\.css$/,
            include: [
                path.join(__dirname, '../node_modules/react-hooks-toast')
            ],
            use: ['style-loader', 'css-loader', 'postcss-loader' ],
        },
        {
            test: /\.(eot|ttf|woff|woff2|svg)$/,
            loader: 'url-loader',
            options: { limit: 5000, name: 'static/fonts/[name].[ext]' },
            include: [
                path.join(__dirname, '../node_modules/react-hooks-toast')
            ]
        }
    ]
}

2fa-for-macos's People

Contributors

monako97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

2fa-for-macos's Issues

“扫码”功能增强

原因

现目扫码是打开本地的图库,然后选取目标二维码图片后才能进行导入。
操作上多少是有点繁琐的,得准备好对应的二维码到图库中。
大部分场景可能用户的二维码不在图库里面,可能是在浏览器页面或者是存储在其他应用中的(例如我就是存储到备忘录中的)。

期望

希望可以直接扫描当前屏幕的二维码或者类似于鼠标截图识取图片一样的操作,这样便捷性又提升了一个台阶

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.