UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

25 lines (24 loc) 607 B
import { Mark } from '@tiptap/core'; export interface SmallOptions { HTMLAttributes: Record<string, any>; } declare module '@tiptap/core' { interface Commands<ReturnType> { small: { /** * Set a small mark */ setSmall: () => ReturnType; /** * Toggle a small mark */ toggleSmall: () => ReturnType; /** * Unset a small mark */ unsetSmall: () => ReturnType; }; } } declare const Small: Mark<SmallOptions, any>; export default Small;