Skip to content

Commit

Permalink
feat(typings): export DropdownOnSearchChangeData (#2205)
Browse files Browse the repository at this point in the history
* fix(typings): export DropdownOnSearchChangeData

* export DropdownOnSearchChangeData

* export DropdownOnSearchChangeData

* fix(typings): export DropdownOnSearchChangeData
  • Loading branch information
pierre-H authored and layershifter committed Oct 17, 2017
1 parent d342424 commit 121965e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export { default as Checkbox, CheckboxProps } from './dist/commonjs/modules/Chec
export { default as Dimmer, DimmerProps } from './dist/commonjs/modules/Dimmer';
export { default as DimmerDimmable, DimmerDimmableProps } from './dist/commonjs/modules/Dimmer/DimmerDimmable';

export { default as Dropdown, DropdownProps } from './dist/commonjs/modules/Dropdown';
export { default as Dropdown, DropdownProps, DropdownOnSearchChangeData } from './dist/commonjs/modules/Dropdown';
export { default as DropdownDivider, DropdownDividerProps } from './dist/commonjs/modules/Dropdown/DropdownDivider';
export { default as DropdownHeader, DropdownHeaderProps } from './dist/commonjs/modules/Dropdown/DropdownHeader';
export { default as DropdownItem, DropdownItemProps } from './dist/commonjs/modules/Dropdown/DropdownItem';
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export interface DropdownProps {
/* TODO: replace with DropdownProps when #1829 will be fixed:
* https://github.com/Semantic-Org/Semantic-UI-React/issues/1829
*/
interface DropdownOnSearchChangeData extends DropdownProps {
export interface DropdownOnSearchChangeData extends DropdownProps {
searchQuery: string;
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Dropdown/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default, DropdownProps } from './Dropdown';
export { default, DropdownProps, DropdownOnSearchChangeData } from './Dropdown';

0 comments on commit 121965e

Please sign in to comment.