feat(ImagePreview): add closeable prop (#5654)
This commit is contained in:
@@ -20,6 +20,9 @@ const defaultConfig = {
|
||||
swipeDuration: 500,
|
||||
showIndicators: false,
|
||||
closeOnPopstate: false,
|
||||
closeable: false,
|
||||
closeIcon: 'clear',
|
||||
closeIconPosition: 'top-right',
|
||||
};
|
||||
|
||||
const initInstance = () => {
|
||||
|
||||
Reference in New Issue
Block a user