collapse icon indicating copy to clipboard operation
collapse copied to clipboard

Allow all html elements to be styled from JavaScript

Open rickthepick opened this issue 7 years ago • 1 comments

Currently the only practical way to style some of the div elements is with css, e.g.,

/* override default rc-collapse-content */ div.rc-collapse-content { padding: 0 5px; }

/* override default rc-collapse-content-box */ div.rc-collapse-content > div.rc-collapse-content-box { margin-top: 5px; margin-bottom: 5px; }

Please provide a way to override these styles from JavaScript. This will allow these elements to be styled using Glamorous or Glamor or Emotion, etc.

rickthepick avatar Jan 24 '19 15:01 rickthepick

I can style all HTML really well with styled-components, which is also a css-in-js library.

Or do I miss something?

ghost avatar Apr 11 '19 13:04 ghost