Created
February 14, 2020 09:31
-
-
Save Lelith/1a416f40fd5910e3ff083da9586cd344 to your computer and use it in GitHub Desktop.
Counter Wrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* src/components/Counter/CounterWrapper.js */ | |
import React from 'react'; | |
import Counter from './'; | |
const CounterWrapper = (props) => { | |
const { | |
...other | |
} = props; | |
return ( | |
<div className="counterWrapper" {...other}> | |
<Counter /> | |
</div> | |
); | |
}; | |
export default CounterWrapper; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment