className on every Groundwork component
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Should we make sure to expose a className on every groundwork component so users can override things like width/height of the components as needed?
example:
TextInput does not provide a className prop
https://usace.github.io/groundwork/#/docs/buttons/generic-buttons
If a user wanted to make the width w-1/12 it would be ignored unless they wrapped it in div tags/some other thing.
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 with the TextInput component mentioned in the issue and inspect the components documented at the linked generic-buttons page. Check which components currently expose or apply className, then verify that a user-supplied width such as w-1/12 is honored. Done means every Groundwork component supports className overrides consistently.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100