mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +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."""
|