diff --git a/packages/frontend/src/components/shared/IconWithFrame/IconWithFrame.tsx b/packages/frontend/src/components/shared/IconWithFrame/IconWithFrame.tsx new file mode 100644 index 00000000..ab3f6a9a --- /dev/null +++ b/packages/frontend/src/components/shared/IconWithFrame/IconWithFrame.tsx @@ -0,0 +1,32 @@ +import React, { ReactNode } from 'react'; +import { cn } from 'utils/classnames'; + +interface IconWithFrameProps { + icon: ReactNode; + bgClass?: string; + hasHighlight?: boolean; +} + +export const IconWithFrame = ({ + icon, + bgClass = 'bg-controls-secondary ', + hasHighlight = true, +}: IconWithFrameProps) => { + return ( +