diff --git a/src/styles/helpers.js b/src/styles/helpers.js index 2662dd67..218a65a1 100644 --- a/src/styles/helpers.js +++ b/src/styles/helpers.js @@ -1,6 +1,8 @@ // @flow +import React from 'react' import Color from 'color' +import uniqueId from 'lodash/uniqueId' import staticPath from 'helpers/staticPath' import { colors, fontFamilies } from 'styles/theme' @@ -53,6 +55,9 @@ export const fontFace = ({ } ` +export const multiline = (str: string) => + str.split('\n').map(line =>

{line}

) + export function getMarketColor({ marketIndicator, isNegative,