collapse
collapse copied to clipboard
Allow all html elements to be styled from JavaScript
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.
I can style all HTML really well with styled-components, which is also a css-in-js library.
Or do I miss something?