Header

Counter

Used for interactively changing count

Usage

import { Counter } from '@cleartrip/bento'

Playground

  • 1

minValue

number

Minimum count of the counter

maxValue

number

Maximum count of the counter

value

number

Starting value of the counter

handleSize

number

handle size of counter

onIncrement

func

Function called on increment click

onDecrement

func

Function called on decrement click