%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/t/r/a/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/src/utils/
Upload File :
Create Path :
Current File : /home/t/r/a/tradesc/www/relax/wp-content/plugins/complianz-gdpr/settings/src/utils/Hyperlink.js

const Hyperlink = (props) => {
	let label_pre = '';
	let label_post = '';
	let link_text = '';
	if (props.text.indexOf('%s') !== -1) {
		let parts = props.text.split(/%s/);
		label_pre = parts[0];
		link_text = parts[1];
		label_post = parts[2];
	} else {
		link_text = props.text;
	}
	let className = props.className ? props.className : 'cmplz-link';

	return (
		<>
			{label_pre}
			<a
				className={className}
				target={props.target}
				rel={props.rel}
				href={props.url}>
				{link_text}
			</a>
			{label_post}
		</>
	);
}
export default Hyperlink;

Zerion Mini Shell 1.0