A built-in component provided by nextra-theme-docs
.
import Callout from 'nextra-theme-docs/callout'
A **callout** is a short piece of text intended to attract attention. **Space Invaders** is a 1978 shoot 'em up arcade game developed by Tomohiro Nishikado.<Callout emoji="👾">
**Space Invaders** is a 1978 shoot 'em up arcade game developed by Tomohiro
Nishikado.
</Callout>
<Callout type="warning" emoji="⚠️">
This API will be deprecated soon.
</Callout>
<Callout type="error" emoji="️🚫">
This is a dangerous feature that can cause everything to explode.
</Callout>
import Callout from 'nextra-theme-docs/Callout'
const Component = () => {
return (
<Callout emoji="👾">
**Space Invaders** is a 1978 shoot 'em up arcade game developed by
Tomohiro Nishikado.
</Callout>
)
}