/** @module @citydna/common/CounterInput */ import { FC } from "react"; import { FilledInputProps } from "@material-ui/core/FilledInput"; export interface CounterInputProps extends FilledInputProps { /** Form field label */ label?: string; /** Fired when a user clicks the plus button */ onIncrement: () => void; /** Fired when a user clicks the minus button */ onDecrement: () => void; } /** * For when you need a counter. Extends [`@material-ui/core/FilledInput`](https://material-ui.com/api/filled-input/) so you can pass a `value` and `onChange` as usual. * Also exposes `onIncrement` and `onDecrement` so you have full control, allowing you to use decimals if you require. */ export declare const CounterInput: FC; //# sourceMappingURL=index.d.ts.map