MCPcopy Index your code
hub / github.com/react-component/input / CommonInputProps

Interface CommonInputProps

src/interface.ts:12–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import type { LiteralUnion } from './utils/types';
11
12export interface CommonInputProps {
13 prefix?: ReactNode;
14 suffix?: ReactNode;
15 addonBefore?: ReactNode;
16 addonAfter?: ReactNode;
17 /** @deprecated Use `classNames` instead */
18 classes?: {
19 affixWrapper?: string;
20 group?: string;
21 wrapper?: string;
22 };
23 classNames?: {
24 affixWrapper?: string;
25 prefix?: string;
26 suffix?: string;
27 groupWrapper?: string;
28 wrapper?: string;
29 variant?: string;
30 };
31 styles?: {
32 affixWrapper?: CSSProperties;
33 prefix?: CSSProperties;
34 suffix?: CSSProperties;
35 };
36 allowClear?: boolean | { clearIcon?: ReactNode };
37}
38
39type DataAttr = Record<`data-${string}`, string>;
40

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…