react/packages/react-devtools-shared/src/devtools/views/Profiler/NoCommitData.js

26 lines
625 B
JavaScript
Raw Normal View History

2019-08-28 01:54:01 +08:00
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
2019-03-17 05:06:41 +08:00
2019-05-22 21:40:04 +08:00
import React from 'react';
2019-03-17 05:06:41 +08:00
import styles from './NoCommitData.css';
export default function NoCommitData(_: {||}) {
2019-05-22 21:40:04 +08:00
return (
<div className={styles.NoCommitData}>
<div className={styles.Header}>
There is no data matching the current filter criteria.
</div>
2019-05-22 21:40:04 +08:00
<div className={styles.FilterMessage}>
Try adjusting the commit filter in Profiler settings.
</div>
2019-05-22 21:40:04 +08:00
</div>
);
2019-03-17 05:06:41 +08:00
}