Merge pull request #33434 from vegtelenseg/master

@types/react-widgets: Added missing type (containerClassName)
This commit is contained in:
Jesse Trinity
2019-02-27 09:49:35 -08:00
committed by GitHub
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
// Maxime Billemaz <https://github.com/MBillemaz>
// Georg Steinmetz <https://github.com/georg94>
// Troy Zarger <https://github.com/tzarger>
// Siya Mzam <https://github.com/vegtelenseg>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
+5
View File
@@ -166,6 +166,11 @@ interface DropdownListProps extends ReactWidgetsCommonDropdownProps<DropdownList
* when false the SelectList will render as a list of radio buttons, and checkboxes when true.
*/
multiple?: boolean;
/**
* Adds a css class to the input container element.
*/
containerClassName?: string;
}
interface DropdownListMessages {
@@ -94,6 +94,9 @@ class Test extends React.Component<React.Props<{}>> {
name="list"
multiple={false}
/>
<DropdownList
containerClassName="list-items"
/>
<Multiselect
autoFocus
allowCreate