Skip to content

Instantly share code, notes, and snippets.

@dphilipson
Last active May 9, 2019 06:07
Show Gist options
  • Save dphilipson/427b03c5dbe59da841ce250ab27fd374 to your computer and use it in GitHub Desktop.
Save dphilipson/427b03c5dbe59da841ce250ab27fd374 to your computer and use it in GitHub Desktop.
import classNames from "classnames";
import React, { memo, ReactElement } from "react";
import "./__NAME__.scss";
interface Props {
className?: string;
}
const __NAME__ = memo(function __NAME__({ className }: Props): ReactElement {
return (
<div className={classNames("__CLASS_NAME__", className)}>__NAME__</div>
);
});
export default __NAME__;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment