Skip to content

Commit 9c35ba5

Browse files
authored
rename from "element" to "component"
1 parent f6dc36c commit 9c35ba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notebooks/introduction.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"import idom_jupyter\n",
4040
"\n",
4141
"\n",
42-
"@idom.element\n",
42+
"@idom.component\n",
4343
"def ClickCount():\n",
4444
" count, set_count = idom.hooks.use_state(0)\n",
4545
"\n",
@@ -79,7 +79,7 @@
7979
"victory = idom.Module(\"victory\", fallback=\"loading...\")\n",
8080
"\n",
8181
"\n",
82-
"@idom.element\n",
82+
"@idom.component\n",
8383
"def VictoryBarElement():\n",
8484
" return victory.VictoryBar()\n",
8585
"\n",
@@ -127,4 +127,4 @@
127127
},
128128
"nbformat": 4,
129129
"nbformat_minor": 4
130-
}
130+
}

0 commit comments

Comments
 (0)