mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-09-08 17:25:40 +02: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