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.

16 lines 788 B
import * as React from 'react'; import type { NumberFieldRoot } from "../root/NumberFieldRoot.js"; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * Groups the input with the increment and decrement buttons. * Renders a `<div>` element. * * Documentation: [Base UI Number Field](https://base-ui.com/react/components/number-field) */ export declare const NumberFieldGroup: React.ForwardRefExoticComponent<NumberFieldGroupProps & React.RefAttributes<HTMLDivElement>>; export interface NumberFieldGroupState extends NumberFieldRoot.State {} export interface NumberFieldGroupProps extends BaseUIComponentProps<'div', NumberFieldGroup.State> {} export declare namespace NumberFieldGroup { type State = NumberFieldGroupState; type Props = NumberFieldGroupProps; }