reflex/reflex/components/base/link.py
Thomas Brandého 0d39237b3c
upgrade to latest ruff (#3497)
* upgrade to latest ruff

* try to fix dep review

* try to fix dep review (2)

* upgrade black

* upgrade black (2)

* update allowed dependencies

* update allowed dependencies (2)

* update allowed dependencies (3)

* wait between interim and final in yield test

* remove previous commit, increase delay between yield

* forgot to save on the time.sleep(1) removal

* fix integration (maybe?)

* fix pyi?

* what even is going on

* what is realityi?

* test another fix for app harness

* try to wait even longer?

* force uvloop to be optional

* downpin fastapi < 0.111, remove changes to test
2024-06-19 12:32:13 +02:00

44 lines
928 B
Python

"""Display the title of the current page."""
from reflex.components.component import Component
from reflex.vars import Var
class RawLink(Component):
"""A component that displays the title of the current page."""
tag = "link"
# The href.
href: Var[str]
# The type of link.
rel: Var[str]
class ScriptTag(Component):
"""A script tag with the specified type and source."""
tag = "script"
# The type of script represented.
type_: Var[str]
# The URI of an external script.
source: Var[str]
# Metadata to verify the content of the script.
integrity: Var[str]
# Whether to allow cross-origin requests.
crossorigin: Var[str]
# Indicates which referrer to send when fetching the script.
referrer_policy: Var[str]
# Whether to asynchronously load the script.
is_async: Var[bool]
# Whether to defer loading the script.
defer: Var[bool]