Skip to content

Commit 4c022fe

Browse files
authored
Add step=1 to Pricing slider (#6415)
1 parent 93fa797 commit 4c022fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/web/docs/src/components/pricing.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ function PricingSlider({ className, ...rest }: { className?: string }) {
216216
min={min}
217217
max={max}
218218
defaultValue={min}
219+
step={1}
219220
// 10$ base price + 10$ per 1M
220221
style={{ '--ops': min, '--price': 'calc(10 + var(--ops) * 10)' }}
221222
counter="after:content-[''_counter(ops)_'M_operations,_$'_counter(price)_'_/_month'] after:[counter-set:ops_calc(var(--ops))_price_calc(var(--price))]"

0 commit comments

Comments
 (0)