/*!
 * KoliBri - The accessible HTML-Standard
 */
import { watchValidator } from "../utils";
export const textareaResizeOptions = ['vertical', 'none'];
const isTextareaResizePropType = (value) => {
    return typeof value === 'string' && textareaResizeOptions.includes(value);
};
export const validateResizeTextarea = (component, value) => {
    watchValidator(component, '_resize', isTextareaResizePropType, new Set(textareaResizeOptions), value, {
        defaultValue: 'vertical',
    });
};
//# sourceMappingURL=resize-textarea.js.map
