From 82de04dd96f9e143d1a9c2a5f6978eba608ae9d5 Mon Sep 17 00:00:00 2001 From: Adomas Bekeras Date: Tue, 5 Jun 2018 11:33:57 +0300 Subject: [PATCH] Update type definition, add optionLabel property --- src/components/dropdown/Dropdown.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.d.ts b/src/components/dropdown/Dropdown.d.ts index e53b62457d..a8db06b382 100644 --- a/src/components/dropdown/Dropdown.d.ts +++ b/src/components/dropdown/Dropdown.d.ts @@ -4,6 +4,7 @@ interface DropdownProps { id?: string; value?: any; options?: Array; + optionLabel?: string; itemTemplate?(option:any): any; style?: object; className?: string; @@ -29,4 +30,4 @@ interface DropdownProps { onContextMenu?(): void; } -export class Dropdown extends React.Component {} \ No newline at end of file +export class Dropdown extends React.Component {}