feat: add documentation for InputNumber, InputCurrency, and TextArea props

This commit is contained in:
Firman Ramdhani
2026-01-26 14:54:35 +07:00
parent 3c11b98153
commit 0a7e3f081a
@@ -47,9 +47,15 @@ export interface InputPasswordProps extends InputProps {
visibilityToggle?: boolean; // Default: true
}
/**
* Define InputNumber and InputCurrency props
*/
export interface InputNumberProps extends RcInputNumberProps, BaseComponentProps {}
export interface InputCurrencyProps extends InputNumberProps, BaseComponentProps {
prefix?: string; // Optional: Custom prefix, default 'Rp '
}
/**
* Define TextArea props
*/
export interface TextAreaProps extends RcTextAreaProps, BaseComponentProps {}