
* Update markdown component map to use new rx.code_block.theme enum * change var to theme * give the types some attention instead of ignoring them --------- Co-authored-by: Khaleel Al-Adhami <khaleel.aladhami@gmail.com>
21 lines
438 B
Python
21 lines
438 B
Python
"""Data grid components."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from reflex.utils import lazy_loader
|
|
|
|
_SUBMOD_ATTRS: dict[str, list[str]] = {
|
|
"code": [
|
|
"CodeBlock",
|
|
"code_block",
|
|
"LiteralCodeLanguage",
|
|
],
|
|
"dataeditor": ["data_editor", "data_editor_theme", "DataEditorTheme"],
|
|
"logo": ["logo"],
|
|
}
|
|
|
|
__getattr__, __dir__, __all__ = lazy_loader.attach(
|
|
__name__,
|
|
submod_attrs=_SUBMOD_ATTRS,
|
|
)
|