diff --git a/web/components/common/icon-wrapper.tsx b/web/components/common/icon-wrapper.tsx new file mode 100644 index 000000000..31cc17710 --- /dev/null +++ b/web/components/common/icon-wrapper.tsx @@ -0,0 +1,23 @@ +import classNames from 'classnames'; +import React from 'react'; + +interface IconWrapperProps { + children: React.ReactNode; + className?: string; +} + +// Icon wrapper, with background color and hover color. same width and height +const IconWrapper: React.FC = ({ children, className }) => { + return ( +
+ {children} +
+ ); +}; + +export default IconWrapper;