Skip to content

Commit

Permalink
[select] fix inputprops docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Gray committed Nov 19, 2018
1 parent 2dc2d1f commit 0a683d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/select/src/components/omnibar/omnibar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface IOmnibarProps<T> extends IListItemsProps<T> {
/**
* Props to spread to the query `InputGroup`. Use `query` and
* `onQueryChange` instead of `inputProps.value` and `inputProps.onChange`
* to control this input. Use `inputRef` instead of `ref`.
* to control this input.
*/
inputProps?: IInputGroupProps & HTMLInputProps;

Expand Down
2 changes: 1 addition & 1 deletion packages/select/src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface ISelectProps<T> extends IListItemsProps<T> {
/**
* Props to spread to the query `InputGroup`. Use `query` and
* `onQueryChange` instead of `inputProps.value` and `inputProps.onChange`
* to control this input. Use `inputRef` instead of `ref`.
* to control this input.
*/
inputProps?: IInputGroupProps & HTMLInputProps;

Expand Down
6 changes: 3 additions & 3 deletions packages/select/src/components/select/suggest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export interface ISuggestProps<T> extends IListItemsProps<T> {
closeOnSelect?: boolean;

/**
* Props to spread to `InputGroup`. All props are supported except `ref` (use `inputRef` instead).
* If you want to control the filter input, you can pass `value` and `onChange` here
* to override `Suggest`'s own behavior.
* Props to spread to the query `InputGroup`. To control this input, use
* `query` and `onQueryChange` instead of `inputProps.value` and
* `inputProps.onChange`.
*/
inputProps?: IInputGroupProps & HTMLInputProps;

Expand Down

0 comments on commit 0a683d3

Please sign in to comment.