export default function ButtonInput({icon, onClick, onMouseEnter, onMouseLeave, disabled}) {
    return <button className='lbaic-button lbaic-button-input' onClick={() => !disabled && onClick()}
                   onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave}
                   disabled={disabled}>
        <svg xmlns='http://www.w3.org/2000/svg'>
            <use href={`#lbaic-${icon}`}/>
        </svg>
    </button>
}