Socket
Socket
Sign inDemoInstall

@beisen-platform/help-rule

Package Overview
Dependencies
10
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @beisen-platform/help-rule

FormPart提示语组件 =================


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Install size
45.2 MB
Created
Weekly downloads
 

Readme

Source

FormPart提示语组件

Installation

npm install @beisen-platform/help-rule

Usage

import Help from '@beisen-platform/help-rule';

const props = {

  //提示语的为止,支持top,bottom
  proVector:'top',
  
  //标题文字  
  tittle:'标题文字,特殊文字用',
  
  //内容区域
  context:{
  
    //内容区域中的警告语
    exp:'如果您的企业部门层级已超过四级,请升级至企业版',
    
    //内容区域换行
    text:`为了提好您的工作,感谢您的支持,为,感谢您的`
  },
  
  //提示语
  prompt:{
  
    //提示语类型 可选'tips', 'warning', 'wrong', 'scuess' 
    kind:'tips',
      
    //提示语正文
    text:`薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬薪酬系酬系议酬 `,
      
    //提示语是否有关闭按钮
    closebut:false
  },
  
  //了解更多按钮
  knowmore:{
  
    //了解更多文字
    text:'了解更多',
    
    //了解更多链接
    href:'www.baidu.com'
  }
}

<Help {...props}/>

FAQs

Last updated on 12 Jun 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc