seas-computing / seas-computing/mark-one
Pass className through to underlying components
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Styled Components has a feature for extending styles, but to use it on arbitrary components you need to pass a className prop from the parent wrapper component down into the styled component. We should do that for all of our "wrapper" components to make it easier to extend and customize components.
Contributor guide
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
Start by identifying the library's wrapper components and reviewing how they render their underlying styled components, using the linked styled-components documentation for the expected className behavior. Done means each wrapper passes its received className through so consumers can extend the underlying component's styles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100