Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { MegadraftIcons } from "megadraft";
import Button from "./Button";
import Block from "./Block";
import constants from "./constants";
export default {
title: constants.PLUGIN_NAME,
type: constants.PLUGIN_TYPE,
buttonComponent: Button,
blockComponent: Block,
options: {
defaultDisplay: "medium",
displayOptions: [
{ key: "small", icon: MegadraftIcons.MediaSmallIcon, label: "SMALL" },
{ key: "medium", icon: MegadraftIcons.MediaMediumIcon, label: "MEDIUM" },
{ key: "big", icon: MegadraftIcons.MediaBigIcon, label: "BIG" },
],
},
};