MetaCell / MetaCell/geppetto-meta
Update backgroundColor prop type on Canvas component to allow strings
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
String type seems to be supported by the canvas but that is not specified in the proptypes.
Warning: Failed prop type: Invalid prop `backgroundColor` of type `string` supplied to `Canvas`, expected `number`.
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
Find the Canvas component and its propTypes declaration, then inspect how backgroundColor is consumed. Update the declared type to match the supported string value and verify that the reported prop-type warning no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100