reflex/reflex/components/literals.py
2023-12-18 15:43:51 -08:00

33 lines
501 B
Python

"""Literal custom type used by Reflex."""
from typing import Literal
# Base Literals
LiteralInputType = Literal[
"button",
"checkbox",
"color",
"date",
"datetime-local",
"email",
"file",
"hidden",
"image",
"month",
"number",
"password",
"radio",
"range",
"reset",
"search",
"submit",
"tel",
"text",
"time",
"url",
"week",
]
LiteralRowMarker = Literal["none", "number", "checkbox", "both", "clickable-number"]