@hanzo/ui

Stepper

import { Stepper } from '@hanzo/ui'

No examples yet.

Types

export interface StepperProps {
  /** What is counted, plural: `Standard seats`. */
  label: string
  value: number
  onChange: (n: number) => void
  min?: number
  max?: number
  /** How far one press moves the value. */
  step?: number
  /** Fraction digits a typed value keeps (0: whole numbers). */
  decimals?: number
  /** The count is a field. Default: on under a compact density, off elsewhere. */
  editable?: boolean
  /** Shown and announced, never changed. */
  readOnly?: boolean
}

Exports

Steppertype StepperProps