content: import React from 'react'
  import { Slide, Text, CodePane } from 'spectacle'
  
  import { codeBackground } from '../constants/colors'
  import promiseCreation from '~/assets/promise-creation.example'
  
  export default (
    <Slide transition={[ 'slide' ]}>
  
      <Text
        textColor='tertiary'
        textSize='1.8em'
        margin='30px'>
        Promise Creation
      </Text>
  
      <CodePane
        lang='javascript'
        textSize='0.7em'
        bgColor={codeBackground}
        source={promiseCreation}/>
  
    </Slide>
  )
  