[new feature] Toast: add get-container prop (#2724)
This commit is contained in:
@@ -5,14 +5,15 @@ import { isObj, isServer } from '../utils';
|
||||
const defaultOptions = {
|
||||
type: 'text',
|
||||
mask: false,
|
||||
message: '',
|
||||
value: true,
|
||||
duration: 3000,
|
||||
message: '',
|
||||
className: '',
|
||||
duration: 3000,
|
||||
position: 'middle',
|
||||
loadingType: 'circular',
|
||||
forbidClick: false,
|
||||
overlayStyle: {}
|
||||
loadingType: 'circular',
|
||||
getContainer: 'body',
|
||||
overlayStyle: null
|
||||
};
|
||||
const parseOptions = message => (isObj(message) ? message : { message });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user