parent
7ec4b3f8fe
commit
ccf987b185
@ -5,6 +5,7 @@ from typing import Dict
|
||||
from pynecone import utils
|
||||
from pynecone.components.component import Component, ImportDict
|
||||
from pynecone.components.libs.chakra import ChakraComponent
|
||||
from pynecone.style import Style
|
||||
from pynecone.var import Var
|
||||
|
||||
# Path to the prism styles.
|
||||
@ -70,7 +71,7 @@ class CodeBlock(Component):
|
||||
return super().create(
|
||||
*children,
|
||||
**props,
|
||||
custom_style=custom_style,
|
||||
custom_style=Style(custom_style),
|
||||
)
|
||||
|
||||
def _add_style(self, style):
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""A text component."""
|
||||
"""A span component."""
|
||||
from __future__ import annotations
|
||||
|
||||
from pynecone.components.libs.chakra import ChakraComponent
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pynecone-io"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
description = "The easiest way to build web apps."
|
||||
license = "Apache-2.0"
|
||||
authors = [
|
||||
|
Loading…
Reference in New Issue
Block a user