| 19 | }; |
| 20 | |
| 21 | export 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 | |
| 39 | export const sizes = { |
| 40 | sm: { |
nothing calls this directly
no outgoing calls
no test coverage detected