This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt -y install build-essential libxml2-dev libxslt1-dev | |
apt -y install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libxml2-dev | |
apt -y install libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev | |
apt -y install libbz2-dev libcurl4-openssl-dev libjpeg-dev | |
apt -y install libfreetype6-dev libkrb5-dev libpq-dev libicu-dev | |
ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a | |
mkdir /opt/php-5.5.9 | |
mkdir /usr/local/src/php5-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const componentName = () => { | |
const alternatingColor = ['#FCE389', '#F38181']; | |
return array.map((item, index) => ( | |
<SubComponent style={{color: alternatingColor[index % alternatingColor.length]}} /> | |
) | |
} |