Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sms-core-ui-code /
app /
ui /
form /
[ HOME SHELL ]
Name
Size
Permission
Action
Calendar.tsx
1.53
KB
-rw-rw-r--
ReactSelect.tsx
1.63
KB
-rw-rw-r--
index.ts
59
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ReactSelect.tsx
import React = require('react'); import Select, { Props as ReactSelectProps, OptionTypeBase, } from 'react-select'; interface Props { containerclassname?: string; label?: any; required?: boolean; options: any; sortBy?: string; } const selectStyles = { container: (base: any) => ({ ...base, minWidth: '200px', }), option: (base: any) => ({ ...base, color: '#333', }), }; function sortingOtions(options, sort) { if (sort === 'normal') { return options; } else if (sort === 'asc') { return options?.sort((a, b) => a?.label?.toString().localeCompare(b?.label?.toString()), ); } else if (sort === 'desc') { return options?.sort((a, b) => b?.label?.toString().localeCompare(a?.label?.toString()), ); } } const ReactSelect = (props: Props & ReactSelectProps<OptionTypeBase>) => { const { containerclassname, label, required, sortBy, options, ...rest } = props; return ( <div className={containerclassname ?? 'form-group mb-2'}> {label && ( <label> {label} {required ? <b className="required-star">*</b> : ''} </label> )} <Select className="react-select-container" classNamePrefix="filter" styles={selectStyles} options={sortingOtions(options, sortBy)} {...rest} // theme={theme => ({ // ...theme, // colors: { // ...theme.colors, // primary25: '#2b3583', // primary: '#2b3583', // }, // })} /> </div> ); }; ReactSelect.defaultProps = { sortBy: 'normal', }; export { ReactSelect };
Close