# @beisen-cmps/platform-confirm

> > 提示弹层默认是放在屏幕头部左上角，并且会出现透明遮罩

Latest version **0.0.3** (published 2018-11-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-cmps/platform-confirm
pnpm add @beisen-cmps/platform-confirm
yarn add @beisen-cmps/platform-confirm
bun add @beisen-cmps/platform-confirm
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-11-27 |
| First published | 2018-11-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 182.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | beisencorp |

## Links

- npm: https://www.npmjs.com/package/@beisen-cmps/platform-confirm
- Repository: git@gitlab.beisencorp.com:ux-share-platform/ux-platform-confirm
- npm.io page: https://npm.io/package/@beisen-cmps/platform-confirm

## Dependencies (1)

- [@beisen-cmps/ethos](https://npm.io/package/@beisen-cmps/ethos.md) ^0.7.28

## Recent versions

- 0.0.3 (latest) — 2018-11-27

## README

### Platform-Confirm 使用说明
> 提示弹层默认是放在屏幕头部左上角，并且会出现透明遮罩

#### 项目运行
- npm install
- npm run examples
- npm run lib (打包)

#### Platform-Confirm 参数

```javascript
const props = {
	title:'显示的内容'， //要显示的内容 默认是  "是否要执行此操作
	top: 0, //按钮左上角定位 
	left: 0, //按钮左上角定位 
	width: 0, //按钮的宽度
	height: 0, //按钮的高度
	onSure: ()=>{ console.log('确定的回调函数') } 
	onClose = () => { console.log('取消的回调函数') }
}

<Confirm  {...props}/>
```

---
_Source: https://npm.io/package/@beisen-cmps/platform-confirm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
