| 25 | }>({}); |
| 26 | |
| 27 | export 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 | |
| 53 | export const InputDateBase = ({ |
| 54 | tooltip, |
nothing calls this directly
no outgoing calls
no test coverage detected