From b248d3ef9a992143f73113c8a135adc2a9a7b0d0 Mon Sep 17 00:00:00 2001 From: tilmx Date: Wed, 20 Dec 2017 23:35:23 +0100 Subject: [PATCH] feat(lsg): change fallback pattern icon --- src/lsg/patterns/icons/index.tsx | 7 ++++++- src/lsg/patterns/pattern-list/index.tsx | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/lsg/patterns/icons/index.tsx b/src/lsg/patterns/icons/index.tsx index cfb22e897..bdb552d09 100644 --- a/src/lsg/patterns/icons/index.tsx +++ b/src/lsg/patterns/icons/index.tsx @@ -5,7 +5,8 @@ import styled from 'styled-components'; export enum IconName { Arrow, ArrowFill, - Robo + Robo, + Pattern } export interface IconRegistryProps { names: typeof IconName; @@ -42,7 +43,11 @@ const icons: { readonly [key: string]: JSX.Element[][] | JSX.Element[] } = { [IconName.ArrowFill]: [[]], [IconName.Robo]: [ [] + ], + [IconName.Pattern]: [ + [] ] + }; const StyledIconRegistry = styled.svg` diff --git a/src/lsg/patterns/pattern-list/index.tsx b/src/lsg/patterns/pattern-list/index.tsx index 929d12ed4..c3ec8439c 100644 --- a/src/lsg/patterns/pattern-list/index.tsx +++ b/src/lsg/patterns/pattern-list/index.tsx @@ -80,9 +80,9 @@ export const PatternListItem: React.StatelessComponent = p ) : ( )} {props.children}