type ScrollToBlockAction = (blockId, options?) => Promise<void>;
Action function for scrolling to a specific block
blockId
number
options?
animate?
boolean
options.animate?
Promise<void>
Promise
void