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

META-INF.resources.js.components.ObjectRelationship.CurrentObjectDefinition.tsx Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2023 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

import {ClayButtonWithIcon} from '@clayui/button';
import {Input, stringUtils} from '@liferay/object-js-components-web';
import React from 'react';

interface CurrentObjectDefinitionProps {
	currentObjectDefinition?: Partial;
	disableReverseButton?: boolean;
	disabled?: boolean;
	error?: string;
	handleReverseOrder: () => void;
	hideReverseButton: boolean;
	label?: string;
}

export default function CurrentObjectDefinition({
	currentObjectDefinition,
	disableReverseButton,
	disabled,
	error,
	handleReverseOrder,
	hideReverseButton,
	label,
}: CurrentObjectDefinitionProps) {
	const readOnly = disabled ? false : true;

	return (
		
{!hideReverseButton && ( )}
); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy