UNPKG

@wordpress/global-styles-ui

Version:
22 lines • 628 B
interface PresetGroupItem { name: string; slug: string; } interface MenuActionConfig { label: string; optionsLabel: string; confirmText: string; confirmButtonText: string; onConfirm: () => void; } interface PresetGroupProps { label: string; items: PresetGroupItem[]; getEditPath: (slug: string) => string; addLabel?: string; onAdd?: () => void; menuAction?: MenuActionConfig; } export default function PresetGroup({ label, items, getEditPath, addLabel, onAdd, menuAction, }: PresetGroupProps): import("react").JSX.Element; export {}; //# sourceMappingURL=preset-group.d.ts.map