import { BackgroundIcon } from "@prismicio/editor-ui"; type SliceCreationOptionArgs = { menuType: "ActionList" | "Dropdown"; }; export const getSliceCreationOptions = (args: SliceCreationOptionArgs) => { const { menuType } = args; return { fromImage: { BackgroundIcon: ( ), title: "Generate from image", description: "Build a slice based on your design image.", }, fromScratch: { BackgroundIcon: ( ), title: "Start from scratch", description: "Build a custom slice your way.", }, fromTemplate: { BackgroundIcon: ( ), title: "Use a template", description: "Choose from ready-made examples.", }, fromExisting: { BackgroundIcon: ( ), title: "Reuse an existing slice", description: "Select from your created slices.", }, }; };