feat(Overlay): add custom-style prop (#4572)

This commit is contained in:
neverland
2019-09-25 15:22:25 +08:00
committed by GitHub
parent a70c0ac5f4
commit 89d97ee5cb
5 changed files with 19 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ export type OverlayProps = {
zIndex?: number | string;
duration: number | string | null;
className?: any;
customStyle?: any;
customStyle?: object;
};
export type OverlayEvents = {
@@ -58,7 +58,7 @@ Overlay.props = {
show: Boolean,
duration: [Number, String],
className: null as any,
customStyle: null as any,
customStyle: Object,
zIndex: {
type: [Number, String],
default: 1