Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

paper-downloader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paper-downloader

paperDownload

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

1. 摘要

试卷下载业务组件(TaskModal/DownloadModal)

2.Install

安装依赖
npm install paper-downloader -S

3.Usage

DownloadModal(试卷规格弹窗)

import "paper-downloader/dist/index.css"
import { DownloadModal } from 'paper-downloader'

  <DownloadModal
    env="development"
    type="kz"
    paperId="1202119719329325519"
    logout={() => {}}
  />
参数说明类型是否必须默认值
env环境:测试|正式development | production-
type试卷类型:原卷|快照yj | kzkz
paperId试卷IDstring-
logout退出登录回调函数() => void-

TaskModal(下载任务进度弹窗)

import "paper-downloader/dist/index.css"
import { TaskModal } from 'paper-downloader'

  <TaskModal
    env="development"
    logout={() => {}}
  />
参数说明类型是否必须默认值
env环境:测试|正式development | production-
logout退出登录回调函数() => void-

FAQs

Package last updated on 21 Jul 2022

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