feat(Dialog): add width prop (#4687)

This commit is contained in:
neverland
2019-10-11 10:13:33 +08:00
committed by GitHub
parent 894e9aafcb
commit cc162ecd7b
6 changed files with 20 additions and 1 deletions

1
types/dialog.d.ts vendored
View File

@@ -3,6 +3,7 @@ type DialogDone = (close?: boolean) => void;
export type DialogOptions = {
title?: string;
width?: string | number;
message?: string;
overlay?: boolean;
className?: any;