UNPKG

reblock

Version:

Build interactive Slack surfaces with React

6 lines (5 loc) 193 B
import type { Rendered } from '../renderer' import type { types as Slack } from '@slack/bolt' export declare function jsxToBlocks( jsx: Rendered ): [blocks: Slack.KnownBlock[], text: string]