react-component / react-component/collapse
Allow all html elements to be styled from JavaScript
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 332
- Forks
- 140
- Avg merge
- 22h 19m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the collapse component's rendered div elements and current styling API, then determine how JavaScript styling should override their styles; done means those elements can be styled through Glamorous, Glamor, or Emotion without custom CSS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100