import Command from "./Command.js";

export default function UnorderedList(cmd: any) {
    return Command({
        icon: "ri-list-unordered",
        queryState: "insertUnorderedList",
        title: "Create List",
        ... cmd,
        command(editor) {
            editor.executeCommand("insertUnorderedList");
        }
    });
}
