Bladeren bron

Replace suggestions icon

Tatiana Inama 7 jaren geleden
bovenliggende
commit
df61dae5e6

+ 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;