diff --git a/app/components/miniToolbox/MiniToolboxIcon.tsx b/app/components/miniToolbox/MiniToolboxIcon.tsx index 1dbde45..aa0c017 100644 --- a/app/components/miniToolbox/MiniToolboxIcon.tsx +++ b/app/components/miniToolbox/MiniToolboxIcon.tsx @@ -2,12 +2,22 @@ import * as React from 'react'; import { icons } from 'feather-icons'; import styled from 'styled-components'; -const Wrapper = styled.span` +const Wrapper = styled.span<{ active: boolean }>` display: flex; + svg { + stroke: ${({ active }) => (active ? 'white !important' : '#202A2D')}; + } `; -export const MiniToolboxIcon = ({ icon }: { icon: string }) => ( +export const MiniToolboxIcon = ({ + icon, + active = false +}: { + icon: string; + active?: boolean; +}) => (