/** * Reusable ToolsPanelItem Wrapper Component * Can be used for any control that needs a ToolsPanelItem */ import React from "react"; import { __experimentalToolsPanelItem as ToolsPanelItem } from "@wordpress/components"; interface ToolsPanelItemWrapperProps { label: string; hasValue: () => boolean; onDeselect?: () => void; isShownByDefault?: boolean; children: React.ReactNode; className?: string; panelId?: string; style?: React.CSSProperties; } export const ToolsPanelItemWrapper: React.FC = ({ label, hasValue, onDeselect, isShownByDefault = false, children, className, panelId, style, }) => { return ( {children} ); }; export default ToolsPanelItemWrapper;