slashCommandExtension
function slashCommandExtension(opts?): ExtensionFactory;Defined in: react/src/extensions/slash-command.tsx:82
Extension factory. Add to PlimDriver’s extensions array.
const plim = new PlimDriver({ extensions: [slashCommandExtension()], // ...});Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
opts | SlashCommandExtensionOptions |
Returns
Section titled “Returns”ExtensionFactory