Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to styled api to compose components #45

Closed
itsdouges opened this issue Jan 10, 2020 · 1 comment
Closed

Add support to styled api to compose components #45

itsdouges opened this issue Jan 10, 2020 · 1 comment
Labels
good first issue 👌 Good for newcomers new feature 🆕 New feature or request

Comments

@itsdouges
Copy link
Collaborator

itsdouges commented Jan 10, 2020

const MyButton = ({ children, ...props }: any) => <button {...props}>{children}</button>

const ListItem = styled(MyButton)({
  fontSize: '20px',
});
@itsdouges itsdouges added new feature 🆕 New feature or request good first issue 👌 Good for newcomers labels Jan 10, 2020
@itsdouges itsdouges added this to the Phase 1 milestone Jan 10, 2020
@itsdouges itsdouges modified the milestones: MVP, Table stakes Apr 11, 2020
@itsdouges
Copy link
Collaborator Author

Closed from #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue 👌 Good for newcomers new feature 🆕 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant