Skip to content

The default titie of reactpy is 'Reactpy', how to customize the title for reactpy #1068

Closed

Description

@johe123qwe

Current Situation

@component
def App():
    temps_list = read_last10('pi_temp.txt')
    return html._(
        html.title("raspberry pi temperature monitor"),
        html.h1("raspberry"),
        html.img({
            "src": "https://cdn.pixabay.com/photo/2016/11/27/21/42/stock-1863880_1280.jpg",
            "style": {"width": "10%", "margin_left": "0%"},
            }),
        DataList(temps_list),
        html.p('cpu load: {}'.format(load_avg)),
        html.p('uptime: {}'.format(GetTime())),
    )

Proposed Actions

I tried to check the documentation on the official website but I don't quite understand it.

Activity

  1. locked and limited conversation to collaborators on Jun 19, 2023
  2. converted this issue into a discussion #1069 on Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions