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

204
Views
spread style in react with css styles

I am looking for a way to override styles of a component using css className, this is what i've tried so far:

<div
      style={{
        shadowColor: 'black',
        shadowOffset: { width: 0, height: 2 },
        shadowRadius: 6,
        shadowOpacity: 0.26,
        elevation: 8,
        boxShadow: '2px 5px 5px',
        border-color: 'white';

        ...props.style,
      }}>
      {props.children}
    </div>

and this is the css styles:

.component_override {
    height: 600px;
    width: 400px;
    background-color: rgb(255, 255, 255);
    border-radius: 30px;
    border: solid;
    border-color: #000000;
}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

border-color: 'white';

should be

borderColor: 'white',
about 4 years ago · Juan Pablo Isaza Report
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!