Skip to content

Instantly share code, notes, and snippets.

@Lelith
Created February 14, 2020 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lelith/1a416f40fd5910e3ff083da9586cd344 to your computer and use it in GitHub Desktop.
Save Lelith/1a416f40fd5910e3ff083da9586cd344 to your computer and use it in GitHub Desktop.
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