diff --git a/ui/src/shared/components/FillQuery.js b/ui/src/shared/components/FillQuery.js index 5dbcbc748c..211706cb9f 100644 --- a/ui/src/shared/components/FillQuery.js +++ b/ui/src/shared/components/FillQuery.js @@ -19,6 +19,10 @@ class FillQuery extends Component { this.handleKeyUp = ::this.handleKeyUp } + static defaultProps = { + size: 'xs', + } + handleInputBlur(e) { const {useCustomNumber, inputValue} = this.state // Prevent user from submitting an empty string as their value @@ -54,24 +58,25 @@ class FillQuery extends Component { } render() { + const {size} = this.props const {selected, useCustomNumber, inputValue} = this.state const items = QUERY_FILL_OPTIONS.map(text => ({text})) return ( -