Skip to content
On this page

Alert Block

In this example, we create a custom Alert block which is used to emphasize text.

In addition, we create a Slash Menu item which inserts an Alert block and add an Alert item to the block type dropdown in the Formatting Toolbar.

Relevant Docs:

export default function App(): JSX.Element {
  return <h1>Hello World</h1>
}