import React from "react"; import { FaGear } from "react-icons/fa6"; import { InfoBadge } from "../info-badge"; type Props = { id: string; description: string; text?: string; }; export const GlobalConfigBadge = ({ id = "core/refine-component", description = "This value can be configured globally. Click to see the guide for more information.", text, }: Props) => { return ( } text={text} id={id} description={ <>
{text ?? "Globally Configurable"}
{description}
} /> ); }; const ConfigIcon = (props: React.SVGProps) => ( );