Last active
February 15, 2017 12:00
-
-
Save kenmori/6c3cb9d5d6a15205a9a54a15e7fad37e to your computer and use it in GitHub Desktop.
flowtype/react. Required module not found
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
import React, { Component } from 'hogehogefolder/react';//error react. Required module not found | |
const MailToBtn = ({mailAddress, addClass, children }: Props) => ( | |
<a className='block w100 ' href={mailAddress}> | |
<button className={`${addClass} appearanceNone outlineNone btnMain btnShadow1 size1 type1 btn100 pad0`} type='button'> | |
{children} | |
</button> | |
</a> | |
) | |
export default MailToBtn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment