UNPKG

@vnmfify/core

Version:

```shell npm i @vnmfify/core -S ```

17 lines (16 loc) 561 B
/// <reference types="react" /> import { StepperActionType } from "./stepper.shared"; interface StepperContextValue { value?: number | string; min?: number; max?: number; size?: number | string; disabled?: boolean; precision?: number; longPress?: boolean; formatValue?(value?: number | string): number | string; onStep?(action: StepperActionType): void; onChange?(value?: number | string): void; } declare const StepperContext: import("react").Context<StepperContextValue>; export default StepperContext;