0.0.1 • Published 1 year ago
@juggle-data-view/notice v0.0.1
@juggle-data-view/notice
Dynamic import components and package in runtime. Support cjs.
Install
pnpm add @juggle-data-view/notice
Usage
import notice from '@juggle-data-view/notice';
notice.alert('message',{
canEnterKeyConfirm: true
canEscapeKeyCancel: false
intent: "infor";
cancelButtonText: "cancel";
confirmButtonText: "confirm";
})
notice.error('message')
notice.warn('message')
notice.success('message')
dev
pnpm link --global # in dynamicimport directory
pnpm link @juggle-data-view/notice --global # in use directory
0.0.1
1 year ago