All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.ai_creator_modal.FormContent.tsx Maven / Gradle / Ivy

There is a newer version: 1.0.29
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

import ClayForm, {ClayInput, ClaySelectWithOption} from '@clayui/form';
import ClayIcon from '@clayui/icon';
import ClayLayout from '@clayui/layout';
import React from 'react';

interface Props {
	portletNamespace: string;
}

const TONE_OPTIONS = [
	Liferay.Language.get('neutral'),
	Liferay.Language.get('casual'),
	Liferay.Language.get('friendly'),
	Liferay.Language.get('formal'),
	Liferay.Language.get('academic'),
].map((label) => ({
	label,
	value: label,
}));

export function FormContent({portletNamespace}: Props) {
	const descriptionId = `${portletNamespace}content`;
	const toneId = `${portletNamespace}tone`;
	const wordCountId = `${portletNamespace}words`;

	return (
		<>
			
				

				
			

			
				
					
						

						
					
				

				
					
						

						
					
				
			
		
	);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy