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

META-INF.resources.js.components.ObjectAction.tabs.ActionContainer.CheckboxParameter.tsx Maven / Gradle / Ivy

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

import {ClayCheckbox} from '@clayui/form';
import ClayIcon from '@clayui/icon';
import {ClayTooltipProvider} from '@clayui/tooltip';
import React from 'react';

import './CheckboxParameter.scss';

interface CheckboxParameterProps {
	checked: boolean;
	disabled: boolean;
	label: string;
	onChange: (values: boolean) => void;
	title: string;
}

export function CheckboxParameter({
	checked,
	disabled,
	label,
	onChange,
	title,
}: CheckboxParameterProps) {
	return (
		<>
			
{ onChange(checked); }} />
); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy