UNPKG
reblock
Version:
latest (0.1.1)
0.1.1
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Build interactive Slack surfaces with React
github.com/jeremy46231/reblock
jeremy46231/reblock
reblock
/
dist
/
jsx
/
blocks.d.ts
6 lines
(5 loc)
•
193 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
Rendered
}
from
'../renderer'
import
type
{ types
as
Slack
}
from
'@slack/bolt'
export
declare
function
jsxToBlocks
(
jsx
:
Rendered
): [
blocks
:
Slack
.
KnownBlock
[],
text
:
string
]