mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-10-31 00:29:46 +01:00 
			
		
		
		
	improvement: flow coverage
This commit is contained in:
		| @@ -4,11 +4,11 @@ import { getContactHref, getIcon } from '../../../utils'; | ||||
| import Icon from '../../Icon'; | ||||
| import styles from './Contacts.module.scss'; | ||||
|  | ||||
| type Props = {| | ||||
|   +contacts: { | ||||
| type Props = { | ||||
|   contacts: { | ||||
|     [string]: string, | ||||
|   }, | ||||
| |}; | ||||
| }; | ||||
|  | ||||
| const Contacts = ({ contacts }: Props) => ( | ||||
|   <div className={styles['contacts']}> | ||||
|   | ||||
| @@ -1,3 +1,5 @@ | ||||
|  | ||||
| // @flow | ||||
| import React from 'react'; | ||||
| import renderer from 'react-test-renderer'; | ||||
| import Contacts from './Contacts'; | ||||
|   | ||||
| @@ -1 +1,2 @@ | ||||
| // @flow | ||||
| export { default } from './Contacts'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user