Skip to content

Resolve #39, support React Components composing#45

Merged
lttb merged 1 commit intomasterfrom
feature/compose-react-components
Oct 13, 2017
Merged

Resolve #39, support React Components composing#45
lttb merged 1 commit intomasterfrom
feature/compose-react-components

Conversation

@lttb
Copy link
Copy Markdown
Member

@lttb lttb commented Oct 13, 2017

From #39

import React from 'react'
import styled from 'styled-jss'

const Test = (props) => <h1 {...props}>test</h1>;

const StyledTest = styled(Test)({
  padding: 40,
  background: '#f7df1e',
  textAlign: 'center'
})

const Root = () => (
  <StyledTest />
)

export default Root

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling c3577a6 on feature/compose-react-components into 319c17d on master.

@lttb lttb merged commit 1717497 into master Oct 13, 2017
@lttb lttb mentioned this pull request Oct 13, 2017
@lttb lttb deleted the feature/compose-react-components branch November 13, 2017 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants