@stoneqq11/react-dialog
v1.0.0
Published
react dialog component
Downloads
5
Readme
<Dialog data={{
title: '',
content: 'Alert',
type: 'alert',
sureClick: () => {}
}} />
// reducer
import dialogData from '@stoneqq11/react-dialog/lib/reducer'
import Dialog from '@stoneqq11/react-dialog'
import Immutable from 'immutable'
<Dialog data={dialogData} />
dispatch(dialogActions.alert('Alert'))