@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
27 lines (26 loc) • 657 B
JavaScript
//#region components/rich_text_editor/slash_command_suggestion.js
var e = { items({ query: e }) {
let t = [
{
command: "dpm",
description: "Start a Dialpad Meeting"
},
{
command: "giphy",
parametersExample: "[text]",
description: "Post random animated GIF matching your text entry "
},
{
command: "meeting",
description: "Start a Dialpad Meeting"
},
{
command: "meeting2",
description: "Start a Dialpad Meeting"
}
];
return e.length === 0 ? t : t.filter((t) => t.command.toLowerCase().startsWith(e.toLowerCase()));
} };
//#endregion
export { e as default };
//# sourceMappingURL=slash-command-suggestion.js.map