GRAYBYTE WORDPRESS FILE MANAGER2696

Server IP : 192.250.235.76 / Your IP : 45.90.210.12
System : Linux s2968.sgp1.stableserver.net 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
PHP Version : 8.2.29
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/tawsifschoice/borkaa.tawsifschoice.com/
1902120114081995

GRAYBYTE WORDPRESS FILE MANAGER5399

Server IP : 198.54.116.172 / Your IP : 216.73.216.36
System : Linux server322.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/src/components/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/src/components//Accordion.js
import React from 'react'
import styled from 'styled-components'
import downCarrot from '../images/down-carrot.svg'
import upCarrot from '../images/up-carrot.svg'

const SectionButton = styled.button`
  outline: none;
  background-color: transparent;
  cursor: pointer;
  color: red;
  border: none;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 0;
  transition: opacity .5s;

  &:after {
    background: center / contain no-repeat url(${(props) => props.isOpen ? upCarrot : downCarrot});
    content: '';
    height: 11px;
    width: 28px;
    display: inline-block;
  }

  &:hover {
    opacity: .6;
  }
`

class Accordion extends React.Component {
  constructor (props) {
    super(props)
    this.state = {
      isOpen: true
    }
    this.onHide = this.onHide.bind(this)
  }

  onHide () {
    this.setState({isOpen: !this.state.isOpen})
  }

  render () {
    return (
      <div>
        <SectionButton isOpen={this.state.isOpen} onClick={this.onHide}>{this.props.section}</SectionButton>
        {this.state.isOpen &&
          <div>
            {this.props.children}
          </div>
        }
      </div>
    )
  }
}

export default Accordion

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:49:16
root / root
0755
home
--
March 03 2024 22:49:16
root / root
0755
Accordion.js
1.137 KB
January 11 2022 01:49:30
root / root
0644
Button.js
0.467 KB
January 11 2022 01:49:30
root / root
0644
DocLinks.js
1.828 KB
January 11 2022 01:49:30
root / root
0644
FoundTypo.js
0.796 KB
January 11 2022 01:49:30
root / root
0644
MobileSidebar.js
0.738 KB
January 11 2022 01:49:30
root / root
0644
Sidebar.js
0.604 KB
January 11 2022 01:49:30
root / root
0644
layout.js
0.59 KB
January 11 2022 01:49:30
root / root
0644
links.js
0.947 KB
January 11 2022 01:49:30
root / root
0644
navbar.js
3.171 KB
January 11 2022 01:49:30
root / root
0644
scripts.js
0.596 KB
January 11 2022 01:49:30
root / root
0644
seo.js
1.722 KB
January 11 2022 01:49:30
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF