Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
Views
Material-UI: The key `clicked` provided to the classes prop is not implemented in ForwardRef(ExpansionPanelSummary)

New to Material-UI and getting spammed with the same error in console after adding the following component.

Full Error:

Material-UI: The key clicked provided to the classes prop is not implemented in ForwardRef(ExpansionPanelSummary). You can only override one of the following: root,expanded,focused,disabled,content,expandIcon.

const CustomExpansionPanelSummary = withStyles(theme => ({
    expandIcon: {
        order: -1,
        padding: '0',
        margin: '17px 0px'
    },
    clicked:{
        color: '#0000FF',
    },
    unclicked:{
        color: '#FF0000',
    },
    root:{
        fontFamily: 'Roboto',
        fontSize: '12px',
        lineHeight: '1.31',
        letterSpacing: '3px',
        marginTop: '0px,
        marginBottom: '0px,
    },
    expanded: {
        '&$expanded': {
          marginTop: '10px',
          marginBottom: '10px',
          minHeight:0
        },
      },
}))(ExpansionPanelSummary);
            <CustomExpansionPanelSummary
                classes ={{
                    content:(props.clicked ? "customcss":"customcss-name")
                }}
                
                expandIcon={<ArrowDropDownIcon 
                    className={props.clicked ? "customcss":"customcss-name"}
                    />}
            >
                {props.clicked} clicked item
            </CustomExpansionPanelSummary>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!