UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

20 lines (19 loc) 736 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type InputProperties<ET extends ElementType = 'input'> = { /** one-time pass-code style */ otp?: boolean; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Text fields that enable users to enter free-form content. * @docs {@link https://design.visa.com/components/input/?code_library=react | See Docs} * @related input-container, input-control, input-message * @vgar TODO * @wcag TODO */ declare const Input: { <ET extends ElementType = "input">({ className, otp, tag: Tag, ...remainingProps }: InputProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Input;