Skip to content

Use react fragment instead of div#148

Open
perry-mitchell wants to merge 2 commits intoLesha-spr:masterfrom
perry-mitchell:patch-1
Open

Use react fragment instead of div#148
perry-mitchell wants to merge 2 commits intoLesha-spr:masterfrom
perry-mitchell:patch-1

Conversation

@perry-mitchell
Copy link

@perry-mitchell perry-mitchell commented Mar 5, 2018

The use of <Fragment> over <div> makes it possible to use styled-components to style the input element without the influence of the unstyled <div> encompassing it.

Fixes #141

It should be noted that this feature requires react+react-dom 16.2.0 as a minimum version.

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.

1 participant