2021-06-08 11:29:03 +00:00
|
|
|
from typing import *
|
|
|
|
|
|
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
2022-01-18 23:49:18 +00:00
|
|
|
def layout_new_confirm_action(
|
|
|
|
*,
|
|
|
|
title: str,
|
|
|
|
action: str | None = None,
|
|
|
|
description: str | None = None,
|
|
|
|
verb: str | None = None,
|
|
|
|
verb_cancel: str | None = None,
|
|
|
|
hold: bool | None = None,
|
|
|
|
reverse: bool = False,
|
|
|
|
) -> object:
|
2021-06-08 11:29:03 +00:00
|
|
|
"""Example layout."""
|
2021-10-29 11:06:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
2022-01-18 23:49:18 +00:00
|
|
|
def layout_new_example(text: str) -> object:
|
2021-12-13 11:22:52 +00:00
|
|
|
"""Example layout."""
|
|
|
|
|
|
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
|
|
def layout_new_confirm_text(
|
|
|
|
*,
|
|
|
|
title: str,
|
|
|
|
data: str,
|
|
|
|
description: str | None,
|
2022-01-18 23:49:18 +00:00
|
|
|
) -> object:
|
2021-12-13 11:22:52 +00:00
|
|
|
"""Example layout."""
|