/** * Copyright (c) 2023 Google LLC * SPDX-License-Identifier: MIT */ import { SpaceVertical, Heading, Paragraph } from '@looker/components'; import React, { useContext } from 'react'; import { useTranslation } from '../utils'; import { TreeSelectContext } from './TreeSelectContext'; export const NoMatchingFields = () => { // Rendering inside the dropdown determines horizontal & vertical padding const { withDropdown } = useContext(TreeSelectContext); const { t } = useTranslation('NoMatchingFields'); return ( {t('No Matching Fields')} {t('Try Something Else')} ); };