@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
14 lines • 717 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps, NativeButtonProps } from "../../utils/types.js";
import type { NumberFieldRoot } from "../root/NumberFieldRoot.js";
/**
* A stepper button that increases the field value when clicked.
* Renders an `<button>` element.
*
* Documentation: [Base UI Number Field](https://base-ui.com/react/components/number-field)
*/
export declare const NumberFieldIncrement: React.ForwardRefExoticComponent<NumberFieldIncrement.Props & React.RefAttributes<HTMLButtonElement>>;
export declare namespace NumberFieldIncrement {
interface State extends NumberFieldRoot.State {}
interface Props extends NativeButtonProps, BaseUIComponentProps<'button', State> {}
}