import { TextAreaInput, Field, FieldLabel, FieldRow } from '@rocket.chat/fuselage'; import type { ComponentProps } from 'react'; import { useHasLicenseModule } from '../../../hooks/useHasLicenseModule'; export type EeTextAreaInputProps = { label: string } & ComponentProps; export const EeTextAreaInput = ({ label, ...props }: EeTextAreaInputProps) => { const { data: hasLicense = false } = useHasLicenseModule('livechat-enterprise'); if (!hasLicense) { return null; } return ( {label} ); }; export default EeTextAreaInput;