Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Counter Wrapper
/* 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
You can’t perform that action at this time.