@react-md/form
Version:
This package is for creating all the different form input types.
14 lines (13 loc) • 523 B
TypeScript
import type { HTMLAttributes } from "react";
export interface TextFieldAddonProps extends HTMLAttributes<HTMLSpanElement> {
/**
* Boolean if the addon should be presentational only and prevent pointer
* events.
*/
presentational?: boolean;
}
/**
* This component is used to add an an icon before or after the text field with
* correct styling.
*/
export declare const TextFieldAddon: import("react").ForwardRefExoticComponent<TextFieldAddonProps & import("react").RefAttributes<HTMLSpanElement>>;