@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
16 lines (15 loc) • 668 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type InputControlProperties<ET extends ElementType = 'div'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Container for icons controlling form elements, such as a dropdown icon for a select element.
* @docs {@link https://design.visa.com/components/input/?code_library=react | See Docs}
* @related select
*/
declare const InputControl: {
<ET extends ElementType = "div">({ className, tag: Tag, ...remainingProps }: InputControlProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default InputControl;