MCPcopy Create free account
hub / github.com/react-component/input / BaseInputProps

Interface BaseInputProps

src/interface.ts:43–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41export type ValueType = InputHTMLAttributes<HTMLInputElement>['value'] | bigint;
42
43export interface BaseInputProps extends CommonInputProps {
44 value?: ValueType;
45 /** @deprecated Use `children` instead */
46 inputElement?: ReactElement;
47 prefixCls?: string;
48 className?: string;
49 style?: CSSProperties;
50 disabled?: boolean;
51 focused?: boolean;
52 triggerFocus?: () => void;
53 readOnly?: boolean;
54 handleReset?: MouseEventHandler;
55 onClear?: () => void;
56 hidden?: boolean;
57 dataAttrs?: {
58 affixWrapper?: DataAttr;
59 };
60 components?: {
61 affixWrapper?: 'span' | 'div';
62 groupWrapper?: 'span' | 'div';
63 wrapper?: 'span' | 'div';
64 groupAddon?: 'span' | 'div';
65 };
66 children: ReactElement;
67}
68
69export type ShowCountFormatter = (args: {
70 value: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…