summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-hints
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-hints')
-rw-r--r--packages/gitbook-plugin-hints/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-hints/index.js b/packages/gitbook-plugin-hints/index.js
index 55efd25..c762232 100644
--- a/packages/gitbook-plugin-hints/index.js
+++ b/packages/gitbook-plugin-hints/index.js
@@ -1,8 +1,9 @@
module.exports = {
blocks: {
- hint: ({ kwargs }) => {
+ hint: ({ kwargs, children }) => {
return {
+ children,
style: kwargs.style || 'info',
icon: kwargs.icon
};