import { useTheme } from "@fiftyone/components"; import { useSpring } from "@react-spring/core"; import React from "react"; import { NameAndCountContainer } from "../../utils"; import RegularEntry from "./RegularEntry"; const EmptyEntry = ({ text }: { text: string }) => { const theme = useTheme(); const { backgroundColor } = useSpring({ backgroundColor: theme.backgroundLight, }); return ( {text} } title={text} backgroundColor={backgroundColor} /> ); }; export default React.memo(EmptyEntry);