Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Allow manually passing error and id props
Browse files Browse the repository at this point in the history
  • Loading branch information
qw-in committed Mar 16, 2020
1 parent ac79e2a commit 547e5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RangeSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ function RangeSlider<V = any>(props: RangeSliderProps<V>) {

return (
<PolarisRangeSlider
id={name}
error={error}
disabled={isSubmitting}
{...polarisProps}
id={name}
value={value}
onFocus={handleFocus}
onBlur={handleBlur}
onChange={handleChange}
error={error}
/>
);
}
Expand Down

0 comments on commit 547e5d1

Please sign in to comment.