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.

17 lines (16 loc) 580 B
import * as React from 'react'; import type { BaseUIComponentProps } from '../utils/types.js'; /** * A native input element that automatically works with [Field](https://base-ui.com/react/components/field). * Renders an `<input>` element. * * Documentation: [Base UI Input](https://base-ui.com/react/components/input) */ declare const Input: React.ForwardRefExoticComponent<Input.Props & React.RefAttributes<HTMLInputElement>>; declare namespace Input { interface Props extends BaseUIComponentProps<'input', State> { } interface State { } } export { Input };