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

Interface InputDateBaseProps

components/base/input/input-date.tsx:27–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}>({});
26
27export interface InputDateBaseProps extends Omit<AriaDateInputProps, "children"> {
28 /** Tooltip message on hover. */
29 tooltip?: string;
30 /**
31 * Input size.
32 * @default "sm"
33 */
34 size?: "sm" | "md" | "lg";
35 /** Placeholder text. */
36 placeholder?: string;
37 /** Class name for the icon. */
38 iconClassName?: string;
39 /** Class name for the input wrapper. */
40 wrapperClassName?: string;
41 /** Class name for the tooltip. */
42 tooltipClassName?: string;
43 /** Keyboard shortcut to display. */
44 shortcut?: string | boolean;
45 ref?: Ref<HTMLInputElement>;
46 groupRef?: Ref<HTMLDivElement>;
47 /** Icon component to display on the left side of the input. */
48 icon?: ComponentType<HTMLAttributes<HTMLOrSVGElement>>;
49 isInvalid?: boolean;
50 isDisabled?: boolean;
51}
52
53export const InputDateBase = ({
54 tooltip,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected