META-INF.resources.ai_creator_modal.FormContent.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.ai.creator.openai.web
Show all versions of com.liferay.ai.creator.openai.web
Liferay AI Creator OpenAI Web
/**
* 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 (
<>
>
);
}