|
@@ -1,9 +1,8 @@
|
|
|
"""A html component."""
|
|
|
|
|
|
-from typing import Dict
|
|
|
+from typing import Any
|
|
|
|
|
|
from pynecone.components.layout.box import Box
|
|
|
-from pynecone.var import Var
|
|
|
|
|
|
|
|
|
class Html(Box):
|
|
@@ -14,7 +13,7 @@ class Html(Box):
|
|
|
"""
|
|
|
|
|
|
# The HTML to render.
|
|
|
- dangerouslySetInnerHTML: Var[Dict]
|
|
|
+ dangerouslySetInnerHTML: Any
|
|
|
|
|
|
@classmethod
|
|
|
def create(cls, *children, **props):
|