mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Added react-widget missing type (containerClassName)
This commit is contained in:
Vendored
+1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user