META-INF.resources.ai_creator_modal.ImagesResult.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 ClayCard from '@clayui/card';
import {ClayCheckbox} from '@clayui/form';
import React from 'react';
interface Props {
imagesURL: string[];
onSelectedChange: Function;
selectedImages: string[];
}
export function ImagesResult({
imagesURL,
onSelectedChange,
selectedImages,
}: Props) {
return (
<>
{imagesURL.map((imageURL, index) => (
-
onSelectedChange(imageURL)}
>
))}
>
);
}