export default function ({setEdit}) {

    return (
        <div className="empty-placeholder">
            <img src={`${radioPlayer.plugin_url}/assets/images/empty-placeholder.png`}/>

            <h3>{wp.i18n.__("No, Players!", 'radio-player')}</h3>
            <p>{wp.i18n.__("You have not created any player yet.", 'radio-player')}</p>

            <button type={`button`} className={`radio-player-btn`} onClick={() => setEdit(-1)}>
                <i className="dashicons dashicons-plus-alt2"></i>
                <span>{wp.i18n.__("Add new player", 'radio-player')}</span>
            </button>

        </div>
    )
}