styled components add canvas to react code example Example: styled-components npm install --save styled-components # yarn yarn add styled-components