0.0.1 • Published 3 years ago

@antd-mobile/dialog v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

@antd-mobile/dialog


react dialog component for mobile

NPM version

Screenshot

API

props

namedescriptiontypedefault
prefixClsThe dialog dom node's prefixClsStringrmc-dialog
classNameadditional className for dialogString
wrapClassNameadditional className for dialog wrapString
styleRoot style for dialog element.Such as width, heightObject{}
zIndexz-indexNumber
bodyStylebody style for dialog body element.Such as heightObject{}
maskStylestyle for mask element.Object{}
visiblecurrent dialog's visible statusBooleanfalse
animationpart of dialog animation css class nameString
maskAnimationpart of dialog's mask animation css class nameString
transitionNamedialog animation css class nameString
maskTransitionNamemask animation css class nameString
titleTitle of the dialogStringReact.Element
footerfooter of the dialogReact.Element
closablewhether show close buttonBooleantrue
maskwhether show maskBooleantrue
maskClosablewhether click mask to closeBooleantrue
onClosecalled when click close button or maskfunction
0.0.1

3 years ago

0.0.1-alpha.0

3 years ago