Преглед на файлове

Replace suggestions icon

Tatiana Inama преди 7 години
родител
ревизия
df61dae5e6
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 2 1
      recipes/src/components/Ingredient/Suggestions/index.tsx
  2. 1 0
      recipes/src/components/Ingredient/Suggestions/styles.scss

+ 2 - 1
recipes/src/components/Ingredient/Suggestions/index.tsx

@@ -2,6 +2,7 @@ import React from 'react';
 import { Suggestion } from 'types/recipes';
 import Icon from 'components/Icon';
 import Button from 'components/Button';
+
 import './styles.scss';
 
 type SuggestionsProps = {
@@ -12,7 +13,7 @@ type SuggestionsProps = {
 const Suggestions = ({ suggestions, onSelect }: SuggestionsProps) => {
   return suggestions && suggestions.length > 1 ? (
     <div className='cbk-suggestions'>
-      <Icon material icon={'new_releases'} />
+      <Icon material icon={'wb_incandescent'} />
       {
         suggestions.map((suggestion, index) => (
           <Button onClick={() => onSelect(index)} key={index}>{suggestion.name}</Button>

+ 1 - 0
recipes/src/components/Ingredient/Suggestions/styles.scss

@@ -6,6 +6,7 @@
   padding: 6px 0;
   i.material-icons {
     color: $grey-500;
+    transform: rotate(180deg);
   }
   .mdc-button {
     font-size: 12px;