Source

cells/ButtonCell.doc.ts

/**
 * Cell containing a Button ({@link https://flowbite-svelte.com/docs/components/buttons}) component.
 * @typedef {object} ButtonCell
 * @property {string} [caption] - Text to be displayed inside the button.
 * @property {ConstructorOfATypedSvelteComponent} [icon] - Icon to be displayed inside the button.
 * @property {string} [iconClass] - CSS class of the icon to be displayed inside the button.
 * @property {'left' | 'right'} [iconPosition] - Position of the icon, relative to the caption. Defaults to 'right'.
 */