MCPcopy Create free account
hub / github.com/untitleduico/react / CommonProps

Interface CommonProps

components/base/select/select-shared.tsx:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21export interface CommonProps {
22 /** Helper text displayed below the input. */
23 hint?: string;
24 /** Field label displayed above the input. */
25 label?: string;
26 /** Tooltip text for the help icon next to the label. */
27 tooltip?: string;
28 /**
29 * The size of the component.
30 * @default "md"
31 */
32 size?: "sm" | "md" | "lg";
33 /** Placeholder text when no value is selected. */
34 placeholder?: string;
35 /** Whether to hide the required indicator from the label. */
36 hideRequiredIndicator?: boolean;
37}
38
39export const sizes = {
40 sm: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected