From 2815198df6ff47a76f3b141aa63d35f52d411dd2 Mon Sep 17 00:00:00 2001 From: Meck Zhu Date: Fri, 9 Aug 2019 18:10:00 +0800 Subject: [PATCH] fix: Dropdown.Button[title] should be optional --- components/dropdown/dropdown-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dropdown/dropdown-button.tsx b/components/dropdown/dropdown-button.tsx index cc960af332..546c17e48b 100644 --- a/components/dropdown/dropdown-button.tsx +++ b/components/dropdown/dropdown-button.tsx @@ -22,7 +22,7 @@ export interface DropdownButtonProps extends ButtonGroupProps, DropDownProps { icon?: React.ReactNode; href?: string; children?: React.ReactNode; - title: string; + title?: string; } export default class DropdownButton extends React.Component {