/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import React from 'react'; // eslint-disable-next-line rulesdir/no-restricted-imports-clone import {Glyph} from 'flipper'; import {theme} from 'flipper-plugin'; type NoDataProps = { message: string; displayIcon?: boolean; }; export const NoData: React.FC = ({ message, displayIcon = true, }) => { return (
{displayIcon && ( )}

{message}

); };