import { _ as __rest } from './tslib.es6-708e7260.js';
import React__default from 'react';
import { Textarea } from '@mantine/core';
import { u as useStyles } from './index-3d035e54.js';
import { u as useTemplateVariant } from './index-5282fcb5.js';

const TextArea = (_a) => {
    var { styles } = _a, props = __rest(_a, ["styles"]);
    const variantStyle = useTemplateVariant();
    const { classes } = useStyles({ variantStyle }, { name: 'MantineTextarea', styles });
    return (React__default.createElement(Textarea, Object.assign({ classNames: {
            input: classes.input,
        }, minRows: 2, maxRows: 4 }, props)));
};

export { TextArea as T };
