Skip to content

Commit

Permalink
[select] fix inputprops docs (#3167)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgray authored and adidahiya committed Nov 30, 2018
1 parent a4e12ec commit 63c7e91
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

1 comment on commit 63c7e91

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[select] fix inputprops docs (#3167)

Previews: documentation | landing | table

Please sign in to comment.