Flow Coverage Report - src/components/shared/Button/Close.js
Go back to all files summary.
Filename
Percent
Total
Covered
Uncovered
src/components/shared/Button/Close.js
100 %
14
14
0
Uncovered Locations
ES6/ES7
JavaScript
None
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow import React from "react"; import "./Close.css"; type Props = { handleClick: Function, buttonClass?: string, tooltip?: string }; function CloseButton({ handleClick, buttonClass, tooltip }: Props) { return ( <div className={buttonClass ? `close-btn ${buttonClass}` : "close-btn"} onClick={handleClick} title={tooltip} > <img className="close" /> </div> ); } export default CloseButton;
{"expressions":{"covered_count":14,"uncovered_count":0,"uncovered_locs":[]},"percent":100}