UNPKG

@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.

18 lines (17 loc) 713 B
import * as React from 'react'; import type { NumberFieldRoot } from '../root/NumberFieldRoot.js'; import type { BaseUIComponentProps } from '../../utils/types.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) */ declare const NumberFieldIncrement: React.ForwardRefExoticComponent<NumberFieldIncrement.Props & React.RefAttributes<HTMLButtonElement>>; declare namespace NumberFieldIncrement { interface State extends NumberFieldRoot.State { } interface Props extends BaseUIComponentProps<'button', State> { } } export { NumberFieldIncrement };