How to use the @talend/react-components.Dialog.TYPES function in @talend/react-components

To help you get started, we’ve selected a few @talend/react-components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Talend / data-prep / dataprep-webapp / src / app / next / components / AboutModal / AboutModal.component.js View on Github external
actions: {
				center: [
					{
						actionId: 'help:about:toggle',
						label: expanded ? t('tdp-app:LESS') : t('tdp-app:MORE'),
						onClick: this.toggle,
					},
				],
			},
		};

		return (
			
				
				<div>
					<div>{t('tdp-app:ABOUT_VERSION_NAME', { version: this.props.displayVersion })}</div>
					<div>{t('tdp-app:COPYRIGHT', { year: new Date().getFullYear() })}</div>
				</div>
				{expanded &amp;&amp; (
					<table>
						<thead>
							<tr>
								<th>{t('tdp-app:SERVICE')}</th>
								<th>{t('tdp-app:BUILD_ID')}</th>
								<th>{t('tdp-app:VERSION')}</th></tr></thead></table>