import { __ } from '@wordpress/i18n';

const LinkBlack = (props) => {
    const className = "seoaic-black-link" + (props.opencloseState ? " w-triangle" : "") + (props.state ? (" state-" + props.state || 'close') : "");

    return (
        <a
            href="#"
            onClick={ props.onClick }
            className={ className }
        >
            { props.text }
        </a>
    );
};

export default LinkBlack;