From d5a72dd7401ea3f31c11e48158b9a0f63f035759 Mon Sep 17 00:00:00 2001 From: Robin van Zanten <38441984+RCVZ@users.noreply.github.com> Date: Thu, 29 Apr 2021 22:35:19 +0200 Subject: [PATCH] feat(project): add create icon component --- src/icons/createIcon.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/icons/createIcon.tsx diff --git a/src/icons/createIcon.tsx b/src/icons/createIcon.tsx new file mode 100644 index 000000000..ed12949f6 --- /dev/null +++ b/src/icons/createIcon.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import classNames from 'classnames'; + +import styles from './Icon.module.scss'; + +type Props = { + className?: string; +}; + +export default (viewBox: string, icon: JSX.Element) => ({ + className, + ...props +}: Props) => { + return ( + + {icon} + + ); +};