Skip to content

Commit

Permalink
3.4.4
Browse files Browse the repository at this point in the history
transition类型调整未可选
  • Loading branch information
bplok20010 committed May 22, 2020
1 parent 51f7b50 commit 2307af3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"index.css": "static/css/index.2c1d8b87.chunk.css",
"index.js": "static/js/index.2c1d8b87.chunk.js",
"index.css": "static/css/index.7bdb3b1e.chunk.css",
"index.js": "static/js/index.7bdb3b1e.chunk.js",
"runtime-index.js": "static/js/runtime-index.70097ef2.js",
"static/js/2.fa911bdb.chunk.js": "static/js/2.fa911bdb.chunk.js",
"index.html": "index.html"
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"><title>popup</title><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><style>.demo{width:800px;height:450px;margin:100px auto;background:#fff;font-size:12px;overflow:auto}</style><link href="static/css/index.2c1d8b87.chunk.css" rel="stylesheet"></head><body style="background:#f5f5f5"><div class="demo" id="demo"></div><script src="static/js/runtime-index.70097ef2.js"></script><script src="static/js/2.fa911bdb.chunk.js"></script><script src="static/js/index.2c1d8b87.chunk.js"></script></body></html>
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"><title>popup</title><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><style>.demo{width:800px;height:450px;margin:100px auto;background:#fff;font-size:12px;overflow:auto}</style><link href="static/css/index.7bdb3b1e.chunk.css" rel="stylesheet"></head><body style="background:#f5f5f5"><div class="demo" id="demo"></div><script src="static/js/runtime-index.70097ef2.js"></script><script src="static/js/2.fa911bdb.chunk.js"></script><script src="static/js/index.7bdb3b1e.chunk.js"></script></body></html>
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-widget-popup",
"version": "3.4.3",
"version": "3.4.4",
"description": "",
"main": "cjs/index.js",
"module": "esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface PopupProps extends React.HTMLAttributes<any> {
lazy?: boolean;
forceRender?: boolean;

transition?: CSSTransitionProps;
transition?: Partial<CSSTransitionProps>;
destroyOnClose?: boolean;
getPosition?: (
dom: HTMLElement
Expand All @@ -36,7 +36,7 @@ export interface PopupProps extends React.HTMLAttributes<any> {
maskStyle?: React.CSSProperties;
maskProps?: React.HTMLAttributes<any>;
maskClassName?: string;
maskTransition?: CSSTransitionProps;
maskTransition?: Partial<CSSTransitionProps>;

component?: React.ElementType;
maskComponent?: React.ElementType;
Expand Down

0 comments on commit 2307af3

Please sign in to comment.