mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
f2b8822d76
[no changelog]
31 lines
614 B
Python
31 lines
614 B
Python
from typing import *
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
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:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_example(text: str) -> object:
|
|
"""Example layout."""
|
|
|
|
|
|
# extmod/rustmods/modtrezorui2.c
|
|
def layout_new_confirm_text(
|
|
*,
|
|
title: str,
|
|
data: str,
|
|
description: str | None,
|
|
) -> object:
|
|
"""Example layout."""
|