Add a factory component to avoid manual ref creation
Open
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```js
import styled from 'styled-hooks'
export const Button = styled({
as: 'button',
color: 'tomato',
hover: {
color: 'hotpink'
}
})
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the issue's styled-hooks example and the repository's existing component API. Determine how a factory component should avoid manual ref creation and define the expected usage and completion criteria; no implementation files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100