Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 567 Bytes

File metadata and controls

22 lines (19 loc) · 567 Bytes

<NumericRange /> Component

This component is represents range for <NumericInput />. It requires context which is provided by <FormGroup />.

Usage

<Form {...FormProps}>
    <FormGroup {...FormGroupProps}>
        <InputRange
            max={900}
            min={1}
        >
            <NumericInput  {...HTMLInputProps} />
        </InputRange>   
    </FormGroup>
</Form>

where:

  • max - max value for input. Required.
  • min - min value for input. Optional.