improvement: flow coverage

This commit is contained in:
alxshelepenok
2019-05-10 02:15:43 +03:00
parent 091834f16a
commit 35f2170bf5
66 changed files with 308 additions and 56 deletions

View File

@@ -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']}>

View File

@@ -1,3 +1,5 @@
// @flow
import React from 'react';
import renderer from 'react-test-renderer';
import Contacts from './Contacts';

View File

@@ -1 +1,2 @@
// @flow
export { default } from './Contacts';